From e9c1f80bc7c5afcafc48c3c88e04f66e0fa00a53 Mon Sep 17 00:00:00 2001 From: ShizCalev Date: Sat, 23 Jul 2022 11:55:55 -0400 Subject: [PATCH] Fixes floorbots not properly updating overlays of repaired floor tiles (#68658) --- code/modules/mob/living/simple_animal/bot/floorbot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/bot/floorbot.dm b/code/modules/mob/living/simple_animal/bot/floorbot.dm index e934a85e3a6..fe8e6471973 100644 --- a/code/modules/mob/living/simple_animal/bot/floorbot.dm +++ b/code/modules/mob/living/simple_animal/bot/floorbot.dm @@ -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