mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
-Added AdjustX()'s to simple_animal/life() so they won't be stunned 5ever
Fixes Issue 982 git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4825 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -84,6 +84,13 @@
|
||||
if(health > maxHealth)
|
||||
health = maxHealth
|
||||
|
||||
if(stunned)
|
||||
AdjustStunned(-1)
|
||||
if(weakened)
|
||||
AdjustWeakened(-1)
|
||||
if(paralysis)
|
||||
AdjustParalysis(-1)
|
||||
|
||||
//Movement
|
||||
if(!client && !stop_automated_movement)
|
||||
if(isturf(src.loc) && !resting && !buckled && canmove) //This is so it only moves if it's not inside a closet, gentics machine, etc.
|
||||
|
||||
Reference in New Issue
Block a user