mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 08:06:33 +01:00
Finally fixed the proximity runtime (#22950)
* Finally fixed the proximity runtime Also fixed some misue of Move(d)s and destroys * Fixed remove_from_proximity_list * Fine, we'll do it your way * Should sense/update loc here as well * Assume deez nuts
This commit is contained in:
@@ -226,7 +226,7 @@
|
||||
|
||||
/obj/structure/alien/egg/Destroy()
|
||||
remove_from_proximity_list(src, 1)
|
||||
..()
|
||||
return ..()
|
||||
|
||||
/obj/structure/alien/egg/attack_paw(mob/living/user)
|
||||
return attack_hand(user)
|
||||
@@ -281,9 +281,11 @@
|
||||
child.Attach(M)
|
||||
break
|
||||
|
||||
/obj/structure/alien/egg/Move()
|
||||
remove_from_proximity_list(src, 1)
|
||||
..()
|
||||
/obj/structure/alien/egg/Moved(oldloc)
|
||||
remove_from_proximity_list(oldloc, 1)
|
||||
if(status == GROWN)
|
||||
add_to_proximity_list(src, 1)
|
||||
return ..()
|
||||
|
||||
/obj/structure/alien/egg/deconstruct()
|
||||
if(!(flags & NODECONSTRUCT))
|
||||
|
||||
Reference in New Issue
Block a user