mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Cleans up some unused procs and makes is_blocked_turf a turf proc. (#52482)
* Cleans up some unused procs and makes is_blocked_turf a turf proc. * Update code/game/turfs/turf.dm Co-authored-by: Rohesie <rohesie@gmail.com> Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
@@ -69,8 +69,8 @@
|
||||
/obj/structure/proc/do_climb(atom/movable/A)
|
||||
if(climbable)
|
||||
if(A.loc == src.loc)
|
||||
var/where_to_climb = get_step(A,dir)
|
||||
if(!(is_blocked_turf(where_to_climb)))
|
||||
var/turf/where_to_climb = get_step(A,dir)
|
||||
if(!where_to_climb.is_blocked_turf())
|
||||
A.forceMove(where_to_climb)
|
||||
return TRUE
|
||||
density = FALSE
|
||||
|
||||
Reference in New Issue
Block a user