Merge branch 'ms_update_command' into 'next'

Allow people to update their Master Server listing on command.

See merge request STJr/SRB2!1518
This commit is contained in:
LJ Sonic 2022-02-06 18:53:49 +00:00
commit fdee3a2b7f

View file

@ -98,6 +98,7 @@ void AddMServCommands(void)
CV_RegisterVar(&cv_servername); CV_RegisterVar(&cv_servername);
#ifdef MASTERSERVER #ifdef MASTERSERVER
COM_AddCommand("listserv", Command_Listserv_f); COM_AddCommand("listserv", Command_Listserv_f);
COM_AddCommand("masterserver_update", Update_parameters); // allows people to updates manually in case you were delisted by accident
#endif #endif
#endif #endif
} }