Fix traitor end of round message

This commit is contained in:
Markolie
2015-08-10 20:00:53 +02:00
parent 541c662296
commit 6a129739b3
4 changed files with 7 additions and 8 deletions
+5
View File
@@ -504,6 +504,11 @@ var/global/datum/controller/gameticker/ticker
world << "<b>There [dronecount>1 ? "were" : "was"] [dronecount] industrious maintenance [dronecount>1 ? "drones" : "drone"] this round."
mode.declare_completion()//To declare normal completion.
//calls auto_declare_completion_* for all modes
for(var/handler in typesof(/datum/game_mode/proc))
if (findtext("[handler]","auto_declare_completion_"))
call(mode, handler)()
mode.declare_job_completion()
+1 -2
View File
@@ -248,7 +248,7 @@ var/global/list/obj/cortical_stacks = list() //Stacks for 'leave nobody behind'
..()
datum/game_mode/declare_completion()
datum/game_mode/proc/auto_declare_completion_heist()
if(raiders.len)
var/check_return = 0
if(ticker && istype(ticker.mode,/datum/game_mode/heist))
@@ -275,7 +275,6 @@ datum/game_mode/declare_completion()
world << text
..()
return 1
/datum/game_mode/heist/check_finished()
-5
View File
@@ -1,10 +1,5 @@
/datum/controller/gameticker/proc/scoreboard()
//calls auto_declare_completion_* for all modes
for(var/handler in typesof(/datum/game_mode/proc))
if (findtext("[handler]","auto_declare_completion_"))
call(mode, handler)()
//Print a list of antagonists to the server log
var/list/total_antagonists = list()
//Look into all mobs in world, dead or alive
+1 -1
View File
@@ -17,7 +17,7 @@ var/list/world_uplinks = list()
var/nanoui_menu = 0 // The current menu we are in
var/list/nanoui_data = new // Additional data for NanoUI use
var/list/purchase_log = new
var/purchase_log = ""
var/uplink_owner = null//text-only
var/used_TC = 0