mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-06 06:52:39 +00:00
Clearly the coffee hasn't kicked in yet
This commit is contained in:
@@ -192,10 +192,13 @@
|
|||||||
effect_str = null
|
effect_str = null
|
||||||
|
|
||||||
/datum/light_source/proc/recalc_corner(var/datum/lighting_corner/C)
|
/datum/light_source/proc/recalc_corner(var/datum/lighting_corner/C)
|
||||||
if (effect_str && effect_str[C]) // Already have one.
|
LAZYINITLIST(effect_str)
|
||||||
|
if (effect_str[C]) // Already have one.
|
||||||
REMOVE_CORNER(C)
|
REMOVE_CORNER(C)
|
||||||
|
effect_str[C] = 0
|
||||||
|
|
||||||
APPLY_CORNER(C)
|
APPLY_CORNER(C)
|
||||||
|
UNSETEMPTY(effect_str)
|
||||||
|
|
||||||
/datum/light_source/proc/update_corners()
|
/datum/light_source/proc/update_corners()
|
||||||
var/update = FALSE
|
var/update = FALSE
|
||||||
|
|||||||
Reference in New Issue
Block a user