Merge pull request #7743 from GunHog/YetAnotherExperimentorFix

Fixes E.X.P.E.R.I-MENTOR blood sacrifice!
This commit is contained in:
Razharas
2015-02-20 09:51:55 +03:00
+1 -7
View File
@@ -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("<span class='notice'>[src] encounters a run-time error!</span>")
throwSmoke(src.loc)