Fixes and performance improvements
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user