mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Merge pull request #15496 from phil235/FinalBorgStunFix
Fixes runtime when borg try to reduce its weakened var.
This commit is contained in:
@@ -512,7 +512,7 @@
|
||||
weakened = max(amount,0)
|
||||
update_stat()
|
||||
|
||||
/mob/living/silicon/AdjustWeakened(amount)
|
||||
if(status_flags & CANWEAKEN)
|
||||
/mob/living/silicon/AdjustWeakened(amount, ignore_canweaken = 0)
|
||||
if(status_flags & CANWEAKEN || ignore_canweaken)
|
||||
weakened = max(weakened + amount,0)
|
||||
update_stat()
|
||||
|
||||
Reference in New Issue
Block a user