Merge pull request #13500 from KorPhaeron/attack_coordinate

Attack coordinates runtime fix
This commit is contained in:
duncathan salt
2015-12-08 21:32:21 -06:00
+2 -1
View File
@@ -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])"