mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Greentexting as a traitor hardcore random now gives you hardcore random points (#60957)
Every time a traitor greentexts with hardcore random, it runtimes and returns. I think it's because of the escape alive objective. I've tested this before and after several times just to be completely sure this fixes it.
This commit is contained in:
@@ -189,10 +189,8 @@
|
||||
|
||||
if(human_mob.mind && (human_mob.mind.special_role || length(human_mob.mind.antag_datums) > 0))
|
||||
var/didthegamerwin = TRUE
|
||||
for(var/a in human_mob.mind.antag_datums)
|
||||
var/datum/antagonist/antag_datum = a
|
||||
for(var/i in antag_datum.objectives)
|
||||
var/datum/objective/objective_datum = i
|
||||
for(var/datum/antagonist/antag_datums as anything in human_mob.mind.antag_datums)
|
||||
for(var/datum/objective/objective_datum as anything in antag_datums.objectives)
|
||||
if(!objective_datum.check_completion())
|
||||
didthegamerwin = FALSE
|
||||
if(!didthegamerwin)
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
// for(in...to) loops iterate inclusively, so to reach objective_limit we need to loop to objective_limit - 1
|
||||
// This does not give them 1 fewer objectives than intended.
|
||||
for(var/i in objective_count to objective_limit - 1)
|
||||
objectives += forge_single_generic_objective()
|
||||
forge_single_generic_objective()
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user