Railing + hulk = bad

Should handle a possible exception if a railing is hit by a hulk player.
This commit is contained in:
Haha26315
2022-09-08 21:22:53 -04:00
parent 732f1c18f7
commit 8a65924446
@@ -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)