mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
[s] Make on_mob_movement work on all mob movement (#24491)
* Updated on_mob_move to be called on all mob movement. * Call parent in mob/living/Moved
This commit is contained in:
@@ -241,7 +241,7 @@
|
||||
return TRUE
|
||||
|
||||
/obj/item/mod/control/on_mob_move(direction, mob/user)
|
||||
if(!jetpack_active)
|
||||
if(!jetpack_active || !isturf(user.loc))
|
||||
return
|
||||
var/turf/T = get_step(src, GetOppositeDir(direction))
|
||||
if(!has_gravity(T))
|
||||
|
||||
Reference in New Issue
Block a user