Fix problems that happen when you do Move(direct=0)

This commit is contained in:
Leshana
2021-07-06 20:37:19 -04:00
parent a89552ac11
commit f87c9d7490
+3
View File
@@ -164,6 +164,9 @@
next_move_dir_add = 0 // This one I *think* exists so you can tap move and it will move even if delay isn't quite up.
next_move_dir_sub = 0 // I'm not really sure why next_move_dir_sub even exists.
if(!n || !direct)
return
// If dead and we try to move in our mob, it leaves our body
if(my_mob.stat == DEAD && isliving(my_mob) && !my_mob.forbid_seeing_deadchat)
my_mob.ghostize()