nullcheck
This commit is contained in:
@@ -47,6 +47,8 @@
|
|||||||
if (!C.active) // We would activate the corner, calculate the lighting for it.
|
if (!C.active) // We would activate the corner, calculate the lighting for it.
|
||||||
for (var/L in C.affecting)
|
for (var/L in C.affecting)
|
||||||
var/datum/light_source/S = L
|
var/datum/light_source/S = L
|
||||||
|
if(!S.source_turf)
|
||||||
|
continue
|
||||||
S.recalc_corner(C)
|
S.recalc_corner(C)
|
||||||
|
|
||||||
C.active = TRUE
|
C.active = TRUE
|
||||||
|
|||||||
Reference in New Issue
Block a user