Private
Public Access
1
0

Fixes and performance improvements

This commit is contained in:
Jan Grießhaber
2025-12-29 18:55:32 +01:00
parent 5accb091b0
commit dc3aea982e
8 changed files with 109 additions and 16 deletions

View File

@@ -9,9 +9,13 @@ function GetMods()
end
function GetMapSeed()
helpers.send_udp(udpAddress, ("---map-seed---\n%d"):format(game.surfaces["nauvis"].map_gen_settings.seed),serverIndex)
return("---map-seed---\n%d"):format(game.surfaces["nauvis"].map_gen_settings.seed)
end
function GetRocketsLaunched()
return("---rocket-launches---\n%d"):format(game.forces["player"].rockets_launched)
end
---Concats all player online times into a single string
---Takes all players that ever visited the server into account
---@return string