mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
Merge pull request #1633 from VOREStation/aro-opencorrupt
Workaround for openspace turf corruption.
This commit is contained in:
@@ -104,7 +104,12 @@
|
||||
temp2.overlays += O.overlays
|
||||
// TODO Is pixelx/y needed?
|
||||
o_img += temp2
|
||||
var/overlay_count = overlays.len
|
||||
overlays += o_img
|
||||
if(overlays.len != overlay_count + 1) //Here we go!
|
||||
world.log << "Corrupted openspace turf at [x],[y],[z] being replaced."
|
||||
new /turf/simulated/open(src)
|
||||
return //Let's get out of here.
|
||||
|
||||
if(!below_is_open)
|
||||
overlays += over_OS_darkness
|
||||
|
||||
Reference in New Issue
Block a user