diff --git a/code/game/asteroid.dm b/code/game/asteroid.dm index 76005df5f1f..c98607718f2 100644 --- a/code/game/asteroid.dm +++ b/code/game/asteroid.dm @@ -23,7 +23,7 @@ proc/spawn_room(var/atom/start_loc,var/x_size,var/y_size,var/wall,var/floor , va //world << "Room spawned at [start_loc.x],[start_loc.y],[start_loc.z]" if(!wall) - wall = pick(/turf/simulated/wall/r_wall,/turf/simulated/wall,/obj/structure/alien/resin) + wall = pick(/turf/simulated/wall/r_wall,/turf/simulated/wall,/obj/structure/alien/resin/wall) if(!floor) floor = pick(/turf/simulated/floor,/turf/simulated/floor/engine) @@ -44,9 +44,9 @@ proc/spawn_room(var/atom/start_loc,var/x_size,var/y_size,var/wall,var/floor , va if(x == 0 || x==x_size-1 || y==0 || y==y_size-1) - if(wall == /obj/structure/alien/resin) + if(wall == /obj/structure/alien/resin/wall) T = new floor(cur_loc) - new /obj/structure/alien/resin(T) + new /obj/structure/alien/resin/wall(T) else T = new wall(cur_loc) room_turfs["walls"] += T @@ -74,7 +74,7 @@ proc/admin_spawn_room_at_pos() if("Regular wall") wall=/turf/simulated/wall if("Resin wall") - wall=/obj/structure/alien/resin + wall=/obj/structure/alien/resin/wall switch(alert("Floor type",null,"Regular floor","Reinforced floor")) if("Regular floor") floor=/turf/simulated/floor