Minor tweak to hCharacterMovement()

This commit is contained in:
Kayne Ruse
2015-03-13 19:36:03 +11:00
parent d2bb3575fc
commit 954213f1ff
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ createTrigger("door 1", overworld, 128, -128, function(entity)
end
local x, y = characterAPI.GetOrigin(entity)
characterAPI.SetRoomIndex(entity, uidTwo) --TODO: (0) take exit coordinates as a parameter
characterAPI.SetRoomIndex(entity, uidTwo)
characterAPI.SetOrigin(entity, 0, 0)
networkAPI.PumpCharacterUpdate(entity)
end)