mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-22 15:33:12 +09:00
2dp in gps display of message in decon log
This commit is contained in:
1 parent
40d409dabd
commit
90e6299510
1 file changed
+1
-1
@@ -21,7 +21,7 @@ local function pos_to_string(pos)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function pos_to_gps_string(pos)
|
local function pos_to_gps_string(pos)
|
||||||
return '[gps=' .. tostring(pos.x) .. ',' .. tostring(pos.y) .. ']'
|
return '[gps=' .. string.format('%.1f', pos.x) .. ',' .. string.format('%.1f', pos.y) .. ']'
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Print a message to all players who match the value of admin
|
--- Print a message to all players who match the value of admin
|
||||||
|
|||||||
Reference in new issue
Block a user