mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-09 22:53:43 +00:00
fixes admin buildmode walls not leaving plating baseturfs (#3996)
* f * oops Co-authored-by: fake_vm_user <fake_vm_user>
This commit is contained in:
@@ -303,16 +303,17 @@
|
||||
switch(buildmode)
|
||||
if(1) // Basic Build
|
||||
if(istype(object,/turf) && pa.Find("left") && !pa.Find("alt") && !pa.Find("ctrl") )
|
||||
var/turf/T = object
|
||||
if(istype(object,/turf/space))
|
||||
var/turf/T = object
|
||||
T.ChangeTurf(/turf/simulated/floor)
|
||||
T.ChangeTurf(/turf/simulated/floor/plating)
|
||||
return
|
||||
else if(istype(object, /turf/simulated/floor/outdoors))
|
||||
T.PlaceOnTop(/turf/simulated/floor/plating)
|
||||
return
|
||||
else if(istype(object,/turf/simulated/floor))
|
||||
var/turf/T = object
|
||||
T.ChangeTurf(/turf/simulated/wall)
|
||||
T.PlaceOnTop(/turf/simulated/wall)
|
||||
return
|
||||
else if(istype(object,/turf/simulated/wall))
|
||||
var/turf/T = object
|
||||
T.ChangeTurf(/turf/simulated/wall/r_wall)
|
||||
return
|
||||
else if(pa.Find("right"))
|
||||
|
||||
Reference in New Issue
Block a user