change null to 0 in lighting/lighting_source.dm
This commit is contained in:
@@ -262,10 +262,12 @@
|
||||
effect_str.Cut()
|
||||
|
||||
/datum/light_source/proc/recalc_corner(var/datum/lighting_corner/C)
|
||||
if (effect_str.Find(C)) // Already have one.
|
||||
REMOVE_CORNER(C)
|
||||
if(!C)
|
||||
return
|
||||
if (effect_str.Find(C)) // Already have one.
|
||||
REMOVE_CORNER(C)
|
||||
|
||||
APPLY_CORNER(C)
|
||||
APPLY_CORNER(C)
|
||||
|
||||
/datum/light_source/proc/smart_vis_update()
|
||||
var/list/datum/lighting_corner/corners = list()
|
||||
|
||||
Reference in New Issue
Block a user