ffixes smoke (#24775)

This commit is contained in:
Qwertytoforty
2024-03-23 18:52:29 +00:00
committed by GitHub
parent 6cd2813150
commit 00ce408dd2
3 changed files with 2 additions and 17 deletions
-15
View File
@@ -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".
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)