From c72a746f20a640a193ca256ea3b4cc68fd51b25d Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Sun, 16 Aug 2015 06:29:04 -0700 Subject: [PATCH] Compile fixes. --- code/game/turfs/simulated/floor.dm | 2 +- code/modules/mob/living/bot/floorbot.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/turfs/simulated/floor.dm b/code/game/turfs/simulated/floor.dm index 9343838b07..dfa6691b4d 100644 --- a/code/game/turfs/simulated/floor.dm +++ b/code/game/turfs/simulated/floor.dm @@ -31,7 +31,7 @@ if(!floortype && initial_flooring) floortype = initial_flooring if(floortype) - get_flooring_by_name(floortype) + set_flooring(get_flooring_data(floortype)) //TEMPORARY DEBUGGING LINES, REMOVE LATER if(!flooring && icon_state != "plating") diff --git a/code/modules/mob/living/bot/floorbot.dm b/code/modules/mob/living/bot/floorbot.dm index 47e325869b..30e137c21a 100644 --- a/code/modules/mob/living/bot/floorbot.dm +++ b/code/modules/mob/living/bot/floorbot.dm @@ -233,7 +233,7 @@ visible_message("[src] begins to improve the floor.") if(do_after(src, 50)) if(!F.flooring) - F.set_flooring(get_flooring_by_name(floor_build_type)) + F.set_flooring(get_flooring_data(floor_build_type)) addTiles(-1) target = null repairing = 0