Merge pull request #9094 from VOREStation/upstream-merge-7676

[MIRROR] Fixes runtime in add_reagent()
This commit is contained in:
Novacat
2020-09-24 02:10:07 -04:00
committed by GitHub
+1 -1
View File
@@ -115,7 +115,7 @@
for(var/datum/reagent/current in reagent_list)
if(current.id == id)
if(current.id == "blood")
if(!isnull(data["species"]) && !isnull(current.data["species"]) && data["species"] != current.data["species"]) // Species bloodtypes are already incompatible, this just stops it from mixing into the one already in a container.
if(LAZYLEN(data) && !isnull(data["species"]) && !isnull(current.data["species"]) && data["species"] != current.data["species"]) // Species bloodtypes are already incompatible, this just stops it from mixing into the one already in a container.
continue
current.volume += amount