From 00ce408dd2f7a74bae124a0f9ea98788290eed24 Mon Sep 17 00:00:00 2001 From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Date: Sat, 23 Mar 2024 14:52:29 -0400 Subject: [PATCH] ffixes smoke (#24775) --- code/_onclick/hud/map_popups.dm | 15 --------------- code/_onclick/hud/plane_master.dm | 2 +- code/modules/mob/mob.dm | 2 +- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/code/_onclick/hud/map_popups.dm b/code/_onclick/hud/map_popups.dm index ff3183f5cb2..7c40f654ffd 100644 --- a/code/_onclick/hud/map_popups.dm +++ b/code/_onclick/hud/map_popups.dm @@ -1,18 +1,3 @@ -/obj/screen - /** - * Map name assigned to this object. - * Automatically set by /client/proc/add_obj_to_map. - */ - var/assigned_map - /** - * Mark this object as garbage-collectible after you clean the map - * it was registered on. - * - * This could probably be changed to be a proc, for conditional removal. - * But for now, this works. - */ - var/del_on_map_removal = TRUE - /** * A screen object, which acts as a container for turfs and other things * you want to show on the map, which you usually attach to "vis_contents". diff --git a/code/_onclick/hud/plane_master.dm b/code/_onclick/hud/plane_master.dm index 3f7d221f500..321239833a4 100644 --- a/code/_onclick/hud/plane_master.dm +++ b/code/_onclick/hud/plane_master.dm @@ -105,7 +105,7 @@ render_target = GRAVITY_PULSE_RENDER_TARGET appearance_flags = PLANE_MASTER | NO_CLIENT_COLOR -/obj/screen/plane_master/smoke +/atom/movable/screen/plane_master/smoke name = "point plane master" plane = SMOKE_PLANE appearance_flags = PLANE_MASTER diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index b2b39500d14..c4388e17cf5 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -1390,7 +1390,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \ var/atom/movable/screen/plane_master/lighting/L = hud_used.plane_masters["[LIGHTING_PLANE]"] if(L) L.alpha = lighting_alpha - var/obj/screen/plane_master/smoke/S = hud_used.plane_masters["[SMOKE_PLANE]"] + var/atom/movable/screen/plane_master/smoke/S = hud_used.plane_masters["[SMOKE_PLANE]"] if(S) S.alpha = 255 if(sight & SEE_MOBS)