mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] obj screen to atom movable screen (#11719)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
fd68853af6
commit
303e88c0b2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user