Skip to content

Commit 889f1f5

Browse files
TheRealPearchatasma
authored andcommitted
Reorder gamemodes & add 5CP as a mode
1 parent aa22026 commit 889f1f5

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

src/database/models/level.rs

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ pub struct LevelContributor {
8181
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
8282
#[strum(serialize_all = "SCREAMING_SNAKE_CASE")]
8383
pub enum LevelGamemode {
84-
#[strum(props(fancy = "Attack/Defend"))]
85-
AttackDefend,
8684
#[strum(props(fancy = "Arcade"))]
8785
Arcade,
86+
#[strum(props(fancy = "Attack/Defend"))]
87+
AttackDefend,
8888
#[strum(props(fancy = "Bed Wars"))]
8989
Bedwars,
9090
#[strum(props(fancy = "Blitz"))]
@@ -95,38 +95,40 @@ pub enum LevelGamemode {
9595
Bridge,
9696
#[strum(props(fancy = "Capture the Flag"))]
9797
CaptureTheFlag,
98-
#[strum(props(fancy = "Control the Point"))]
99-
ControlThePoint,
10098
#[strum(props(fancy = "Capture the Wool"))]
10199
CaptureTheWool,
100+
#[strum(props(fancy = "Control the Point"))]
101+
ControlThePoint,
102+
#[strum(props(fancy = "Deathmatch"))]
103+
Deathmatch,
102104
#[strum(props(fancy = "Destroy the Core"))]
103105
DestroyTheCore,
104106
#[strum(props(fancy = "Destroy the Monument"))]
105107
DestroyTheMonument,
106-
#[strum(props(fancy = "Free For All"))]
107-
FreeForAll,
108+
#[strum(props(fancy = "5 Control Points"))]
109+
FiveControlPoint,
108110
#[strum(props(fancy = "Flag Football"))]
109111
FlagFootball,
112+
#[strum(props(fancy = "Free For All"))]
113+
FreeForAll,
110114
#[strum(props(fancy = "Infection"))]
111115
Infection,
112-
#[strum(props(fancy = "King of the Hill"))]
113-
KingOfTheHill,
114116
#[strum(props(fancy = "King of the Flag"))]
115117
KingOfTheFlag,
118+
#[strum(props(fancy = "King of the Hill"))]
119+
KingOfTheHill,
116120
#[strum(props(fancy = "Mixed"))]
117121
Mixed,
118122
#[strum(props(fancy = "Payload"))]
119123
Payload,
120-
#[strum(props(fancy = "Rage"))]
121-
Rage,
122124
#[strum(props(fancy = "Race for Wool"))]
123125
RaceForWool,
126+
#[strum(props(fancy = "Rage"))]
127+
Rage,
124128
#[strum(props(fancy = "Scorebox"))]
125129
Scorebox,
126130
#[strum(props(fancy = "Skywars"))]
127131
Skywars,
128132
#[strum(props(fancy = "Survival Games"))]
129-
SurvivalGames,
130-
#[strum(props(fancy = "Deathmatch"))]
131-
Deathmatch
133+
SurvivalGames
132134
}

0 commit comments

Comments
 (0)