Slimes will now dump reagents they can't process.

They won't throw up a runtime and then refuse to process more stuff.
This commit is contained in:
MagmaRam
2016-11-14 15:51:17 -06:00
parent ac81408cf9
commit 568b1eacfe

View File

@@ -64,6 +64,10 @@ Procs for targeting
reagent_response = chemreact[R.id]
if(!reagent_response)
temp_chem_holder.reagents.clear_reagents()
return 1
if(reagent_response["toxic"])
adjustToxLoss(reagent_response["toxic"] * reagent_total)