[MANUAL MIRROR] Port OD Pragma Lints (#17171) (#10255)

Co-authored-by: Drathek <76988376+Drulikar@users.noreply.github.com>
This commit is contained in:
Selis
2025-03-01 22:14:20 +01:00
committed by GitHub
parent f05bc462ed
commit ed43b73661
118 changed files with 428 additions and 237 deletions

View File

@@ -725,7 +725,7 @@
in_chamber.on_hit(M)
if(in_chamber.damage_type != HALLOSS && !in_chamber.nodamage)
log_and_message_admins("commited suicide using \a [src]", user)
user.apply_damage(in_chamber.damage*2.5, in_chamber.damage_type, "head", used_weapon = "Point blank shot in the mouth with \a [in_chamber]", sharp = TRUE)
user.apply_damage(in_chamber.damage*2.5, in_chamber.damage_type, "head", sharp = TRUE, used_weapon = src)
user.death()
else if(in_chamber.damage_type == HALLOSS)
to_chat(user, span_notice("Ow..."))

View File

@@ -133,7 +133,7 @@
else if(firer)
var/obj/T
if(original in target.contents && istype(original, /obj))
if((original in target.contents) && istype(original, /obj))
T = original
var/list/possible_targets = list()