mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
ffixes smoke (#24775)
This commit is contained in:
@@ -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".
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user