You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Assemble together the current state of the inputted command.
87
87
constauto conCommand = "p2mm_map ";
@@ -106,13 +106,13 @@ CON_COMMAND_F_COMPLETION(p2mm_map, "Starts up a P2:MM session with a requested m
106
106
{
107
107
// If the map list is empty, generate it.
108
108
if (mapList.empty())
109
-
UpdateMapsList();
109
+
UpdateMapList();
110
110
111
111
// Make sure the CONCOMMAND was executed correctly.
112
112
if (args.ArgC() < 2 || FStrEq(args.Arg(1), ""))
113
113
{
114
114
Log(WARNING, false, "p2mm_map called incorrectly! Usage: \"p2mm_map (map to start)\"");
115
-
UpdateMapsList();
115
+
UpdateMapList();
116
116
return;
117
117
}
118
118
@@ -141,7 +141,7 @@ CON_COMMAND_F_COMPLETION(p2mm_map, "Starts up a P2:MM session with a requested m
141
141
Log(WARNING, false, "p2mm_map was called with P2MM_LASTMAP, but p2mm_lastmap is empty or invalid!");
142
142
engineClient->ExecuteClientCmd("disconnect \"There is no last map recorded or the map doesn't exist! Please start a play session with the other options first.\"");
143
143
engineClient->ExecuteClientCmd(completePvCmd);
144
-
UpdateMapsList();
144
+
UpdateMapList();
145
145
return;
146
146
}
147
147
@@ -162,7 +162,7 @@ CON_COMMAND_F_COMPLETION(p2mm_map, "Starts up a P2:MM session with a requested m
162
162
if (!engineServer->IsMapValid(requestedMap))
163
163
{
164
164
Log(WARNING, false, "p2mm_map was given a non-valid map or one that doesn't exist! \"%s\"", requestedMap);
165
-
UpdateMapsList();
165
+
UpdateMapList();
166
166
return;
167
167
}
168
168
@@ -181,7 +181,7 @@ CON_COMMAND_F_COMPLETION(p2mm_map, "Starts up a P2:MM session with a requested m
181
181
182
182
CON_COMMAND_F(p2mm_updatemaplist, "Manually updates the list of available maps that can be loaded with p2mm_map.", FCVAR_HIDDEN)
183
183
{
184
-
UpdateMapsList();
184
+
UpdateMapList();
185
185
}
186
186
187
187
CON_COMMAND_F(p2mm_maplist, "Lists available maps that can be loaded with p2mm_map.", FCVAR_HIDDEN)
0 commit comments