mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
Merge pull request #13500 from KorPhaeron/attack_coordinate
Attack coordinates runtime fix
This commit is contained in:
@@ -130,7 +130,8 @@ Proc for attack log creation, because really why not
|
||||
|
||||
/proc/add_logs(mob/user, mob/target, what_done, object=null, addition=null)
|
||||
var/newhealthtxt = ""
|
||||
var/coordinates = "([target.x],[target.y],[target.z])"
|
||||
var/turf/attack_location = get_turf(target)
|
||||
var/coordinates = "([attack_location.x],[attack_location.y],[attack_location.z])"
|
||||
if (target && isliving(target))
|
||||
var/mob/living/L = target
|
||||
newhealthtxt = " (NEWHP: [L.health])"
|
||||
|
||||
Reference in New Issue
Block a user