From a80e4a7e254c3a62117565faba9c575575f971a2 Mon Sep 17 00:00:00 2001 From: GunHog Date: Sat, 14 Feb 2015 22:22:57 -0600 Subject: [PATCH] Fixes #7741 Fixes #7741, the Experimentor's tech improvement malfunction now works as expected. --- code/modules/research/experimentor.dm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/code/modules/research/experimentor.dm b/code/modules/research/experimentor.dm index e7875c33d5a..29b7fdb5ece 100644 --- a/code/modules/research/experimentor.dm +++ b/code/modules/research/experimentor.dm @@ -40,12 +40,6 @@ temp_list[O] = text2num(temp_list[O]) return temp_list -/obj/machinery/r_n_d/experimentor/proc/ConvertReqList2String(var/list/source_list) - var/returnString = "" - for(var/O in source_list) - returnString += "[O];" - return returnString - /* //uncomment to enable forced reactions. /obj/machinery/r_n_d/experimentor/verb/forceReaction() set name = "Force Experimentor Reaction" @@ -503,7 +497,7 @@ var/list/reqs = ConvertReqString2List(exp_on.origin_tech) for(var/T in reqs) reqs[T] = reqs[T] + 1 - exp_on.origin_tech = ConvertReqList2String(reqs) + exp_on.origin_tech = list2params(reqs) if(globalMalf > 51 && globalMalf < 75) visible_message("[src] encounters a run-time error!") throwSmoke(src.loc)