From c41ad413f3e36e565ea37a66a0a5182daa7478a9 Mon Sep 17 00:00:00 2001 From: Leshana Date: Mon, 11 May 2020 16:21:59 -0400 Subject: [PATCH] Fix floors so adding flooring updates the icon. --- code/game/turfs/simulated/floor.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/turfs/simulated/floor.dm b/code/game/turfs/simulated/floor.dm index e12e168fb5..89962bb15a 100644 --- a/code/game/turfs/simulated/floor.dm +++ b/code/game/turfs/simulated/floor.dm @@ -64,7 +64,8 @@ swap_decals() flooring = newflooring footstep_sounds = newflooring.footstep_sounds - //update_icon(1) // We'll do it in late initialize + if(!initializing) + update_icon(1) levelupdate() //This proc will set floor_type to null and the update_icon() proc will then change the icon_state of the turf