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:
Cody Brittain
2024-09-21 12:12:07 +00:00
committed by GitHub
co-authored by Cody Brittain
parent 3c474b70df
commit dc610520fe
88 changed files with 732 additions and 676 deletions
+3 -3
View File
@@ -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
. = ..()