mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-17 02:32:27 +01:00
Railing + hulk = bad
Should handle a possible exception if a railing is hit by a hulk player.
This commit is contained in:
@@ -237,6 +237,9 @@
|
||||
/obj/structure/railing/attack_paw(mob/user)
|
||||
return attack_hand(user)
|
||||
|
||||
/obj/structure/grille/hulk_damage()
|
||||
return 60
|
||||
|
||||
/obj/structure/railing/hitby(atom/movable/AM, skipcatch, hitpush, blocked, datum/thrownthing/throwingdatum)
|
||||
if(isobj(AM))
|
||||
if(prob(50) && anchored && !broken)
|
||||
|
||||
Reference in New Issue
Block a user