mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Merge pull request #6547 from Probe1/Runtime_is_the_mind_killer
Fixes a shitload of runtimes from target.current in objective.dm
This commit is contained in:
@@ -404,7 +404,7 @@ var/list/potential_theft_objectives=list(
|
|||||||
explanation_text = "Die a glorious death."
|
explanation_text = "Die a glorious death."
|
||||||
|
|
||||||
check_completion()
|
check_completion()
|
||||||
if(!owner.current || owner.current.stat == DEAD || isbrain(owner.current) || isborer(target.current))
|
if(!owner.current || owner.current.stat == DEAD || isbrain(owner.current) || isborer(owner.current))
|
||||||
return 1 //Brains no longer win survive objectives. --NEO
|
return 1 //Brains no longer win survive objectives. --NEO
|
||||||
if(issilicon(owner.current) && owner.current != owner.original)
|
if(issilicon(owner.current) && owner.current != owner.original)
|
||||||
return 1
|
return 1
|
||||||
@@ -417,7 +417,7 @@ var/list/potential_theft_objectives=list(
|
|||||||
|
|
||||||
check_completion()
|
check_completion()
|
||||||
if(blocked) return 0
|
if(blocked) return 0
|
||||||
if(!owner.current || owner.current.stat == DEAD || isbrain(owner.current) || isborer(target.current))
|
if(!owner.current || owner.current.stat == DEAD || isbrain(owner.current) || isborer(owner.current))
|
||||||
return 0 //Brains no longer win survive objectives. --NEO
|
return 0 //Brains no longer win survive objectives. --NEO
|
||||||
if(issilicon(owner.current) && owner.current != owner.original)
|
if(issilicon(owner.current) && owner.current != owner.original)
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user