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, 1 insertions, 1 deletions
diff --git a/scripts/checkpoint.lua b/scripts/checkpoint.lua index 452f81d..a5c8c54 100644 --- a/scripts/checkpoint.lua +++ b/scripts/checkpoint.lua
@@ -1,7 +1,7 @@
1checkpoint = {} 1checkpoint = {}
2 2
3function checkpoint.OnTouch(id, player) 3function checkpoint.OnTouch(id, player)
4 curMap = entity.new(realizing():singleton():realizable().activeMap) 4 curMap = entity.new(realizing().activeMap)
5 5
6 if not player:playable().checkpointMapObject or 6 if not player:playable().checkpointMapObject or
7 not curMap:mappable().mapId == player:playable().checkpointMapId or 7 not curMap:mappable().mapId == player:playable().checkpointMapId or