mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 23:51:17 +01:00
Refactor /obj/screen to /atom/movable/screen (#19852)
Part of backend stuff required for #19188. Should probably be test merged. --------- Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
co-authored by
Cody Brittain
parent
3c474b70df
commit
dc610520fe
@@ -1,14 +1,14 @@
|
||||
/obj/screen/psi
|
||||
/atom/movable/screen/psi
|
||||
icon = 'icons/mob/screen/psi.dmi'
|
||||
var/mob/living/owner
|
||||
var/hidden = TRUE
|
||||
|
||||
/obj/screen/psi/New(var/mob/living/_owner)
|
||||
/atom/movable/screen/psi/New(var/mob/living/_owner)
|
||||
loc = null
|
||||
owner = _owner
|
||||
update_icon()
|
||||
|
||||
/obj/screen/psi/Destroy()
|
||||
/atom/movable/screen/psi/Destroy()
|
||||
if(owner && owner.client)
|
||||
owner.client.screen -= src
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user