mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Fixed maps constantly being metastation (fixes recent maps being included in mapvote) (#70006)
About The Pull Request See title. The vote subsystem needs to load after the persistence subsystem so that the blocked_maps list can be properly populated with data from the RecentMaps.json in the data folder. This fixes the maps constantly being metastation Why It's Good For The Game Same map over and over again = bad Different maps each time = good Changelog cl fix: Fixed map vote including maps that have already been played twice in the last 3 rounds. /cl
This commit is contained in:
@@ -169,9 +169,10 @@
|
||||
#define INIT_ORDER_AIR -1
|
||||
#define INIT_ORDER_PERSISTENCE -2
|
||||
#define INIT_ORDER_PERSISTENT_PAINTINGS -3 // Assets relies on this
|
||||
#define INIT_ORDER_ASSETS -4
|
||||
#define INIT_ORDER_ICON_SMOOTHING -5
|
||||
#define INIT_ORDER_OVERLAY -6
|
||||
#define INIT_ORDER_VOTE -4 // Needs to be after persistence so that recent maps are not loaded.
|
||||
#define INIT_ORDER_ASSETS -5
|
||||
#define INIT_ORDER_ICON_SMOOTHING -6
|
||||
#define INIT_ORDER_OVERLAY -7
|
||||
#define INIT_ORDER_XKEYSCORE -10
|
||||
#define INIT_ORDER_STICKY_BAN -10
|
||||
#define INIT_ORDER_LIGHTING -20
|
||||
|
||||
@@ -5,6 +5,7 @@ SUBSYSTEM_DEF(vote)
|
||||
name = "Vote"
|
||||
wait = 1 SECONDS
|
||||
flags = SS_KEEP_TIMING
|
||||
init_order = INIT_ORDER_VOTE
|
||||
runlevels = RUNLEVEL_LOBBY | RUNLEVELS_DEFAULT
|
||||
|
||||
/// A list of all generated action buttons
|
||||
|
||||
Reference in New Issue
Block a user