summary refs log tree commit diff stats
path: root/scripts
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-05-13 11:00:02 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-05-17 15:39:39 -0400
commit046ee24a341468e9b3ea2983a731dbce18b52ac6 (patch)
tree554a645bbc9dac63433cf06e1a5168eb2551d02a /scripts
parent5269e7c09a0b17c8c972c8ad996b04d42dbcd9cb (diff)
downloadtherapy-046ee24a341468e9b3ea2983a731dbce18b52ac6.tar.gz
therapy-046ee24a341468e9b3ea2983a731dbce18b52ac6.tar.bz2
therapy-046ee24a341468e9b3ea2983a731dbce18b52ac6.zip
Integrated RealizableComponent into RealizingSystem
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