Refactor event max lobbies - is no longer a range

It's no longer a range because it:
1. Makes no sense for it to be a range
2. Makes for simpler scripts since returning a JS array is a hassle with Graal
This commit is contained in:
P0nk
2021-05-21 20:50:04 +02:00
parent 095008a20f
commit d9d63a1b44
60 changed files with 189 additions and 198 deletions

View File

@@ -38,14 +38,14 @@ var eventMaps = [197000000, 197010000];
var eventTime = 45; // 45 minutes
var couponsNeeded = 300; // total of coupons to complete the event
var lobbyRange = [0, 0];
const maxLobbies = 1;
function init() {
setEventRequirements();
}
function setLobbyRange() {
return lobbyRange;
function getMaxLobbies() {
return maxLobbies;
}
function setEventRequirements() {