mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
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:
@@ -85,7 +85,7 @@
|
||||
return
|
||||
|
||||
opacity = new_opacity
|
||||
var/turf/T = loc
|
||||
var/turf/T = isturf(src) ? src : loc
|
||||
if(!isturf(T))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user