Fixes floorbots not properly updating overlays of repaired floor tiles (#68658)

This commit is contained in:
ShizCalev
2022-07-23 11:55:55 -04:00
committed by GitHub
parent 99fabf319b
commit e9c1f80bc7
@@ -369,7 +369,7 @@
else if(F.broken || F.burnt) //repair the tile and reset it to be undamaged (rather than replacing it)
F.broken = FALSE
F.burnt = FALSE
F.icon_state = initial(F.icon_state)
F.update_appearance()
else if(istype(is_this_maints, /area/station/maintenance)) //place catwalk if it's plating and we're in maints
F.PlaceOnTop(/turf/open/floor/catwalk_floor, flags = CHANGETURF_INHERIT_AIR)
else //place normal tile if it's plating anywhere else