summary refs log tree commit diff stats
path: root/scripts
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-05-17 15:34:24 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-05-17 15:39:39 -0400
commit86f0106d0523825549f1e74b835688c78a10cf6c (patch)
tree6f83fce90e71abb22b1a8f3e09c79963b2a34d5d /scripts
parent5e48cf6333aca7af6854d79194f138d57ce0b5e1 (diff)
downloadtherapy-86f0106d0523825549f1e74b835688c78a10cf6c.tar.gz
therapy-86f0106d0523825549f1e74b835688c78a10cf6c.tar.bz2
therapy-86f0106d0523825549f1e74b835688c78a10cf6c.zip
Added muxer access to script engine es-rewrite
Diffstat (limited to 'scripts')
-rw-r--r--scripts/checkpoint.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/checkpoint.lua b/scripts/checkpoint.lua index a5c8c54..04cf357 100644 --- a/scripts/checkpoint.lua +++ b/scripts/checkpoint.lua
@@ -13,5 +13,7 @@ function checkpoint.OnTouch(id, player)
13 player:playable().checkpointMapObjectIndex = 13 player:playable().checkpointMapObjectIndex =
14 id:prototypable().mapObjectIndex 14 id:prototypable().mapObjectIndex
15 player:playable().checkpointPos = player:transformable().pos 15 player:playable().checkpointPos = player:transformable().pos
16
17 playSound("res/Pickup_Coin23.wav", 0.25)
16 end 18 end
17end 19end