mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user