[MIRROR] obj screen to atom movable screen (#11719)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-21 16:04:35 -07:00
committed by GitHub
parent fd68853af6
commit 303e88c0b2
141 changed files with 1307 additions and 1386 deletions

View File

@@ -149,7 +149,7 @@
user.mapobjs = list()
for(var/i=0; i<icount;i++)
var/obj/screen/H = new /obj/screen()
var/atom/movable/screen/H = new /atom/movable/screen()
H.screen_loc = "[5 + i%icx],[6+ round(i/icx)]"
@@ -275,7 +275,7 @@
user.mapobjs = list()
for(var/i=0; i<icount;i++)
var/obj/screen/H = new /obj/screen()
var/atom/movable/screen/H = new /atom/movable/screen()
H.screen_loc = "[5 + i%icx],[6+ round(i/icx)]"
@@ -328,7 +328,7 @@
/mob/proc/clearmap()
src.client.screen -= src.mapobjs
for(var/obj/screen/O in mapobjs)
for(var/atom/movable/screen/O in mapobjs)
qdel(O)
mapobjs = null