diff --git a/code/game/turfs/simulated/floor.dm b/code/game/turfs/simulated/floor.dm index 556a7ff59e..f2c640d53a 100644 --- a/code/game/turfs/simulated/floor.dm +++ b/code/game/turfs/simulated/floor.dm @@ -20,6 +20,8 @@ 'sound/effects/footstep/plating4.ogg', 'sound/effects/footstep/plating5.ogg')) + var/list/old_decals = null // VOREStation Edit - Remember what decals we had between being pried up and replaced. + // Flooring data. var/flooring_override var/initial_flooring @@ -46,6 +48,11 @@ make_plating(defer_icon_update = 1) flooring = newflooring footstep_sounds = newflooring.footstep_sounds + // VOREStation Edit - Remember decals from before we were pried up + if(islist(old_decals)) + decals = old_decals + old_decals = null + // VOREStation Edit End update_icon(1) levelupdate() @@ -55,7 +62,10 @@ overlays.Cut() if(islist(decals)) - decals.Cut() + // VOREStation Edit - Don't forget decals when pried up + if(flooring) + old_decals = decals + // VOREStation Edit End decals = null name = base_name