Fixes cluwnes forever

This commit is contained in:
FlattestGuitar
2016-10-07 10:56:36 +02:00
parent 4a0c9f7e74
commit f07f476a3c
+1 -2
View File
@@ -510,10 +510,9 @@ var/list/intents = list(I_HELP,I_DISARM,I_GRAB,I_HARM)
search_pda = 0
//Fixes renames not being reflected in objective text
var/list/O = subtypesof(/datum/objective)
var/length
var/pos
for(var/datum/objective/objective in O)
for(var/datum/objective/objective in all_objectives)
if(objective.target != mind) continue
length = lentext(oldname)
pos = findtextEx(objective.explanation_text, oldname)