Compile fixes.

This commit is contained in:
Zuhayr
2015-08-16 06:29:04 -07:00
parent 0c0cf4ae6e
commit c72a746f20
2 changed files with 2 additions and 2 deletions

View File

@@ -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")

View File

@@ -233,7 +233,7 @@
visible_message("<span class='notice'>[src] begins to improve the floor.</span>")
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