mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
FIX: Attack logs being backwards
This commit fixes attack logs being backwards on some erroneous add_logs arguments. Things fixed: - Martial arts - EMP Flashlight - Defibrillator - C4 - Handcuffs - Resonant Fields - Alien Larva attack_animal - Mobs being grabbed
This commit is contained in:
@@ -151,7 +151,7 @@
|
||||
"<span class='userdanger'>[M] [M.attacktext] [src]!</span>")
|
||||
var/damage = rand(M.melee_damage_lower, M.melee_damage_upper)
|
||||
adjustBruteLoss(damage)
|
||||
add_logs(M, src, "attacked", admin=0)
|
||||
add_logs(src, M, "attacked", admin=0)
|
||||
updatehealth()
|
||||
|
||||
|
||||
|
||||
@@ -362,7 +362,7 @@
|
||||
user << "<span class='notice'>You already grabbed [src].</span>"
|
||||
return
|
||||
|
||||
add_logs(user, src, "grabbed", addition="passively")
|
||||
add_logs(src, user, "grabbed", addition="passively")
|
||||
|
||||
var/obj/item/weapon/grab/G = new /obj/item/weapon/grab(user, src)
|
||||
if(buckled)
|
||||
|
||||
Reference in New Issue
Block a user