mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
[MIRROR] Cleans up some unused procs and makes is_blocked_turf a turf proc. (#136)
* 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> * Cleans up some unused procs and makes is_blocked_turf a turf proc. Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com> Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
co-authored by
Rohesie
ShizCalev
parent
b7e1bd1973
commit
284f2de8a1
@@ -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