Add more decimals to spotter coordinates

This commit is contained in:
2025-01-06 11:56:38 +01:00
parent bd8b3fa00f
commit 5e0f81ce53
4 changed files with 7 additions and 7 deletions

View File

@@ -84,7 +84,7 @@ function shared.Spotter.Init()
local x, y = GetPlayerMapPosition("player")
local stinky = Heimdall_Data.config.stinkies[name] or false
local text = string.format("I see (%s) %s/%s %s of race %s (%s) with health %s/%s at %s (%.2f, %.2f)",
local text = string.format("I see (%s) %s/%s %s of race %s (%s) with health %s/%s at %s (%2.2f, %2.2f)",
hostile and "Hostile" or "Friendly",
name,
class,
@@ -94,7 +94,7 @@ function shared.Spotter.Init()
FormatHP(hp),
FormatHP(maxHp),
location,
x, y)
x * 100, y * 100)
---@type Message
local msg = {