mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
Actually fixes cultists getting multiple summon objectives (#12485)
This commit is contained in:
committed by
variableundefined
parent
40abb4eb2f
commit
862ed0b4fd
@@ -126,8 +126,8 @@ var/global/list/all_cults = list()
|
||||
..()
|
||||
|
||||
|
||||
/datum/game_mode/cult/proc/memorize_cult_objectives(var/datum/mind/cult_mind)
|
||||
for(var/obj_count = 1,obj_count <= objectives.len,obj_count++)
|
||||
/datum/game_mode/cult/proc/memorize_cult_objectives(datum/mind/cult_mind)
|
||||
for(var/obj_count in 1 to objectives.len)
|
||||
var/explanation
|
||||
switch(objectives[obj_count])
|
||||
if("survive")
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
additional_phase()
|
||||
|
||||
/datum/game_mode/cult/proc/additional_phase()
|
||||
if(objectives.Find("eldergod") || objectives.Find("slaughter"))
|
||||
return
|
||||
current_objective++
|
||||
|
||||
message_admins("Picking a new Cult objective.")
|
||||
@@ -62,6 +64,7 @@
|
||||
message_admins("There are less than 4 cultists! [SSticker.cultdat.entity_name] objective unlocked.")
|
||||
log_admin("There are less than 4 cultists! [SSticker.cultdat.entity_name] objective unlocked.")
|
||||
gtfo_phase()
|
||||
return
|
||||
|
||||
if(!sacrificed.len && (new_objective != "sacrifice"))
|
||||
sacrifice_target = null
|
||||
|
||||
Reference in New Issue
Block a user