Change serverId to util func

This commit is contained in:
Vortrex
2020-12-26 02:02:56 -06:00
parent ece82562ca
commit e57cfd4996
9 changed files with 76 additions and 38 deletions

View File

@@ -8,7 +8,6 @@
// TYPE: Server (JavaScript)
// ===========================================================================
let serverId = 0;
let scriptVersion = "1.0";
let serverStartTime = new Date().getTime();
@@ -536,12 +535,6 @@ function initServerData() {
// ----------------------------------------------------------------------------
function getServerId() {
return serverId;
}
// ----------------------------------------------------------------------------
function getServerData() {
return serverData;
}