Bugfix Collection (#11371)

This commit is contained in:
MarinaGryphon
2021-03-04 21:19:10 +01:00
committed by GitHub
parent 8c3ae999ef
commit 2a0ab65e64
20 changed files with 186 additions and 137 deletions
+1 -1
View File
@@ -144,7 +144,7 @@
for(var/_R in reagents.reagent_volumes)
var/decl/reagent/R = decls_repository.get_decl(_R)
var/strength = R.germ_adjust * reagents.reagent_volumes[_R]/4
if(istype(R, /decl/reagent/alcohol))
if(ispath(_R, /decl/reagent/alcohol))
var/decl/reagent/alcohol/A = R
strength = strength * (A.strength/100)
W.germ_level -= min(strength, W.germ_level)//Clean the wound a bit.