mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
[MIRROR] Makes freerunning quirk prevent falling damage from short falls (#972)
* Merge pull request #53822 from Mickyan/freefalling Makes freerunning quirk prevent falling damage from short falls * Makes freerunning quirk prevent falling damage from short falls Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
This commit is contained in:
@@ -204,7 +204,7 @@ GLOBAL_LIST_EMPTY(station_turfs)
|
||||
prev_turf.visible_message("<span class='danger'>[mov_name] falls through [prev_turf]!</span>")
|
||||
if(flags & FALL_INTERCEPTED)
|
||||
return
|
||||
if(zFall(A, ++levels))
|
||||
if(zFall(A, levels + 1))
|
||||
return FALSE
|
||||
A.visible_message("<span class='danger'>[A] crashes into [src]!</span>")
|
||||
A.onZImpact(src, levels)
|
||||
|
||||
Reference in New Issue
Block a user