Allow set_opacity() to work for turfs too.

Fixes lighting opacity not updating on mined rock walls and false doors.
This commit is contained in:
Leshana
2017-04-15 10:37:35 -05:00
parent d00c2596e8
commit a29b807953
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -85,7 +85,7 @@
return
opacity = new_opacity
var/turf/T = loc
var/turf/T = isturf(src) ? src : loc
if(!isturf(T))
return