mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 23:42:27 +00:00
Fix for runtime:
The following runtime has occured 99 time(s). runtime error: Cannot read null.stat proc name: process (/datum/disease/alien_embryo/process) source file: alien_embryo.dm,9 usr: null src: Unidentified Foreign Body (/datum/disease/alien_embryo) git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4385 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
if(holder == affected_mob)
|
||||
stage_act()
|
||||
|
||||
if(affected_mob.stat == DEAD)
|
||||
if(prob(50))
|
||||
if(--longevity<=0)
|
||||
cure(0)
|
||||
|
||||
if(!affected_mob) //the virus is in inanimate obj
|
||||
if(affected_mob)
|
||||
if(affected_mob.stat == DEAD)
|
||||
if(prob(50))
|
||||
if(--longevity<=0)
|
||||
cure(0)
|
||||
else //the virus is in inanimate obj
|
||||
cure(0)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user