Move to D_RegisterServerCommands

This commit is contained in:
Sally Coolatta 2020-08-30 23:35:41 -04:00
parent 85884ad4e2
commit 651d25a516

View file

@ -714,6 +714,7 @@ void D_RegisterServerCommands(void)
CV_RegisterVar(&cv_dummyconsvar); CV_RegisterVar(&cv_dummyconsvar);
CV_RegisterVar(&cv_discordinvites);
RegisterNetXCmd(XD_DISCORD, Got_DiscordInfo); RegisterNetXCmd(XD_DISCORD, Got_DiscordInfo);
} }
@ -1013,7 +1014,6 @@ void D_RegisterClientCommands(void)
CV_RegisterVar(&cv_discordstreamer); CV_RegisterVar(&cv_discordstreamer);
CV_RegisterVar(&cv_discordasks); CV_RegisterVar(&cv_discordasks);
#endif #endif
CV_RegisterVar(&cv_discordinvites);
} }
/** Checks if a name (as received from another player) is okay. /** Checks if a name (as received from another player) is okay.