Changed world loop to all_objective loop in cryopod check. Added all_objective add/remove procs to datum/objective.

Conflicts:
	code/game/machinery/cryopod.dm
This commit is contained in:
Zuhayr
2014-02-14 14:19:35 +01:00
committed by alex-gh
parent 4776dfd94f
commit 5ada6ea4cc
2 changed files with 6 additions and 2 deletions
+6
View File
@@ -1,4 +1,5 @@
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31
var/global/list/all_objectives = list()
var/list/potential_theft_objectives=typesof(/datum/theft_objective) \
- /datum/theft_objective \
@@ -14,9 +15,14 @@ datum/objective
var/completed = 0 //currently only used for custom objectives.
New(var/text)
all_objectives |= src
if(text)
explanation_text = text
Del()
all_objectives -= src
..()
proc/check_completion()
return completed
-2
View File
@@ -96,7 +96,6 @@ obj/machinery/computer/cryopod/Topic(href, href_list)
frozen_items -= I
else if(href_list["crew"])
user << "\red Functionality unavailable at this time."
src.updateUsrDialog()
@@ -227,7 +226,6 @@ obj/machinery/computer/cryopod/Topic(href, href_list)
O.owner.objectives -= O
del(O)
//Handle job slot/tater cleanup.
var/job = occupant.mind.assigned_role