mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
Fixes a server crashing bug with reagents. (#18590)
Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
if(!primary_reagent || reagent_volumes[primary_reagent] < vol)
|
||||
primary_reagent = R
|
||||
if(total_volume > maximum_volume)
|
||||
remove_any(maximum_volume - total_volume)
|
||||
remove_any(total_volume - maximum_volume)
|
||||
return max(total_volume,0)
|
||||
|
||||
/datum/reagents/proc/update_holder(var/reactions = TRUE)
|
||||
|
||||
Reference in New Issue
Block a user