From 88332b2bbc6726e167ca696adacaeeb3822346ad Mon Sep 17 00:00:00 2001 From: Tigercat2000 Date: Fri, 8 Jan 2016 09:50:46 -0800 Subject: [PATCH] Code: Fix stupid fucking space update_visuals runtime Fixes #3142 In a stupid fucking way --- 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 9712f0b8824..b28f2674c52 100644 --- a/code/game/turfs/simulated/floor.dm +++ b/code/game/turfs/simulated/floor.dm @@ -46,7 +46,8 @@ var/list/wood_icons = list("wood","wood-broken") builtin_tile = new floor_tile spawn(5) - update_visuals() + if(istype(src, /turf/simulated)) //you are probably looking at this and thinking "what the fuck", because that's the appropriate response + update_visuals() //however, shityond means that turfs can change src and spawned procs will try to run on it, and only sim turfs have update_visuals() /turf/simulated/floor/Destroy()