Skip to content

Commit 869e4f5

Browse files
Digging a ramp now opens the turf above.
1 parent bf7affb commit 869e4f5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

code/game/turfs/turf_ramps.dm

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
/turf/proc/handle_ramp_dug_below(turf/wall/natural/ramp)
22
if(simulated && !is_open())
3-
ChangeTurf(get_base_turf(z))
3+
ChangeTurf(get_open_turf_type(z))
4+
return TRUE
5+
return FALSE
6+
7+
/turf/floor/handle_ramp_dug_below(turf/wall/natural/ramp)
8+
var/decl/flooring/floor = get_topmost_flooring()
9+
return !floor.constructed && ..()

0 commit comments

Comments
 (0)