mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 01:23:41 +01:00
Your stun code broke simple animals poly, so I commented it out.
This should stop simple animals (including shades/constructs) from being immortal git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3407 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
if(health > maxHealth)
|
||||
health = maxHealth
|
||||
|
||||
|
||||
/*
|
||||
// Stun/Weaken
|
||||
|
||||
if (paralysis || stunned || weakened) //Stunned etc.
|
||||
@@ -110,7 +110,7 @@
|
||||
canmove = 0
|
||||
else
|
||||
canmove = 1
|
||||
|
||||
*/
|
||||
//Movement
|
||||
if(!ckey && !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