summary refs log tree commit diff stats
path: root/scripts
diff options
context:
space:
mode:
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