Remove timer variable

Doesn't feel necessary to me anymore, especially with how the menu works
This commit is contained in:
Sally Coolatta 2020-08-22 07:25:47 -04:00
parent f61e3a77bd
commit e5238d095f
2 changed files with 0 additions and 4 deletions

View file

@ -231,9 +231,6 @@ static void DRPC_HandleJoinRequest(const DiscordUser *requestUser)
newRequest = Z_Calloc(sizeof(discordRequest_t), PU_STATIC, NULL);
// Discord requests expire after 30 seconds
newRequest->timer = (30*TICRATE)-1;
newRequest->username = Z_Calloc(344, PU_STATIC, NULL);
snprintf(newRequest->username, 344, "%s", requestUser->username);

View file

@ -29,7 +29,6 @@ extern struct discordInfo_s {
} discordInfo;
typedef struct discordRequest_s {
tic_t timer; // Tics left on the request before it expires.
char *username; // Discord user name.
char *discriminator; // Discord discriminator (The little hashtag thing after the username). Separated for a "hide discriminators" cvar.
char *userID; // The ID of the Discord user, gets used with Discord_Respond()