At least this was caught now (#23563)

This commit is contained in:
DGamerL
2023-12-26 13:26:27 -05:00
committed by GitHub
parent 501fe33634
commit 20ec46b0ca
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -132,8 +132,8 @@
add_attack_logs(user, M, "Stabbed with (sleepy) [src]. [transfered]u of reagents transfered from pen containing [english_list(contained)].")
for(var/datum/reagent/R as anything in reagents.reagent_list)
if(initial(R.id) == "????") // Yes this is a specific case that we don't really want
return TRUE
reagents.reaction(M, REAGENT_INGEST, 0.1)
continue
reagents.reaction(M, REAGENT_INGEST, 0.1)
return TRUE
@@ -264,12 +264,12 @@
if(blocked != INFINITY)
if(M.can_inject(null, FALSE, hit_zone, piercing)) // Pass the hit zone to see if it can inject by whether it hit the head or the body.
..()
for(var/datum/reagent/R as anything in reagents.reagent_list)
if(initial(R.id) == "????") // Yes this is a specific case that we don't really want
reagents.trans_to(M, reagents.total_volume)
return TRUE
continue
reagents.reaction(M, REAGENT_INGEST, 0.1)
reagents.trans_to(M, reagents.total_volume)
reagents.reaction(M, REAGENT_INGEST, 0.1)
return TRUE
else
blocked = INFINITY
@@ -53,8 +53,8 @@
add_attack_logs(user, M, "Injected with [src] containing ([contained])", reagents.harmless_helper() ? ATKLOG_ALMOSTALL : null)
for(var/datum/reagent/R as anything in reagents.reagent_list)
if(initial(R.id) == "????") // Yes this is a specific case that we don't really want
return TRUE
reagents.reaction(M, REAGENT_INGEST, 0.1)
continue
reagents.reaction(M, REAGENT_INGEST, 0.1)
return TRUE
/obj/item/reagent_containers/hypospray/attack(mob/living/M, mob/user)