diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-05-13 11:00:02 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-05-17 15:39:39 -0400 |
commit | 046ee24a341468e9b3ea2983a731dbce18b52ac6 (patch) | |
tree | 554a645bbc9dac63433cf06e1a5168eb2551d02a /scripts | |
parent | 5269e7c09a0b17c8c972c8ad996b04d42dbcd9cb (diff) | |
download | therapy-046ee24a341468e9b3ea2983a731dbce18b52ac6.tar.gz therapy-046ee24a341468e9b3ea2983a731dbce18b52ac6.tar.bz2 therapy-046ee24a341468e9b3ea2983a731dbce18b52ac6.zip |
Integrated RealizableComponent into RealizingSystem
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 |