mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-17 21:52:42 +00:00
Merge pull request #6050 from Heroman3003/ladder-fixaroo
Fixes being unable to climb ladders you're already on
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
var/obj/structure/ladder/target_ladder = getTargetLadder(M)
|
var/obj/structure/ladder/target_ladder = getTargetLadder(M)
|
||||||
if(!target_ladder)
|
if(!target_ladder)
|
||||||
return
|
return
|
||||||
if(!M.Move(get_turf(src)))
|
if(!(M.loc == loc) && !M.Move(get_turf(src)))
|
||||||
to_chat(M, "<span class='notice'>You fail to reach \the [src].</span>")
|
to_chat(M, "<span class='notice'>You fail to reach \the [src].</span>")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user