diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/checkpoint.lua | 2 |
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 @@ | |||
1 | checkpoint = {} | 1 | checkpoint = {} |
2 | 2 | ||
3 | function checkpoint.OnTouch(id, player) | 3 | function 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 |