mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
fixed derpy ai movement.
Signed-off-by: CaelAislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
@@ -51,6 +51,9 @@
|
|||||||
continue
|
continue
|
||||||
if(dy && (current.y * dy <= old.y * dy))
|
if(dy && (current.y * dy <= old.y * dy))
|
||||||
continue
|
continue
|
||||||
|
//only let the player move to cameras on the same zlevel
|
||||||
|
if(current.z != old.z)
|
||||||
|
continue
|
||||||
|
|
||||||
var/shared_types = 0 //how many levels deep the old camera and the closest camera's areas share
|
var/shared_types = 0 //how many levels deep the old camera and the closest camera's areas share
|
||||||
//for instance, /area/A and /area/B would have shared_types = 2 (because of how dd_text2list works)
|
//for instance, /area/A and /area/B would have shared_types = 2 (because of how dd_text2list works)
|
||||||
|
|||||||
Reference in New Issue
Block a user