From 2d152cb82db459153639eb49d9fc601b3b63ffa9 Mon Sep 17 00:00:00 2001 From: Markolie Date: Mon, 2 Mar 2015 18:49:12 +0100 Subject: [PATCH] Debug --- code/game/machinery/bots/floorbot.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/game/machinery/bots/floorbot.dm b/code/game/machinery/bots/floorbot.dm index cf6f851c35e..a962d81d6e4 100644 --- a/code/game/machinery/bots/floorbot.dm +++ b/code/game/machinery/bots/floorbot.dm @@ -244,8 +244,7 @@ if(!target && replacetiles) //Finds a floor without a tile and gives it one. process_type = REPLACE_TILE //The target must be the floor and not a tile. The floor must not already have a floortile. target = scan(/turf/simulated/floor, oldtarget) - world << target - + if(!target && fixfloors) //Repairs damaged floors and tiles. process_type = FIX_TILE target = scan(/turf/simulated/floor, oldtarget)