mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Nano Is Dead
This commit is contained in:
@@ -10,3 +10,11 @@ GLOBAL_DATUM_INIT(tgui_contained_state, /datum/tgui_state/contained_state, new)
|
||||
if(!src_object.contains(user))
|
||||
return STATUS_CLOSE
|
||||
return user.shared_tgui_interaction(src_object)
|
||||
|
||||
/atom/proc/contains(atom/location)
|
||||
if(!location)
|
||||
return FALSE
|
||||
if(location == src)
|
||||
return TRUE
|
||||
|
||||
return contains(location.loc)
|
||||
|
||||
Reference in New Issue
Block a user