mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 21:40:55 +01:00
Adds the moved event.
Allows movable atoms to follow other movable atoms, as quickly as BYOND allows. Also supports following atoms inside other atoms. However, this only works fully when Move() or forceMove() is utilized. Setting loc directly will not raise the moved event.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
var/store_mobs = 1
|
||||
|
||||
/obj/structure/closet/initialize()
|
||||
..()
|
||||
if(!opened) // if closed, any item at the crate's loc is put in the contents
|
||||
var/obj/item/I
|
||||
for(I in src.loc)
|
||||
|
||||
Reference in New Issue
Block a user