mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove timer variable
Doesn't feel necessary to me anymore, especially with how the menu works
This commit is contained in:
parent
26295bb793
commit
7228cc80a1
2 changed files with 0 additions and 4 deletions
|
|
@ -231,9 +231,6 @@ static void DRPC_HandleJoinRequest(const DiscordUser *requestUser)
|
||||||
|
|
||||||
newRequest = Z_Calloc(sizeof(discordRequest_t), PU_STATIC, NULL);
|
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);
|
newRequest->username = Z_Calloc(344, PU_STATIC, NULL);
|
||||||
snprintf(newRequest->username, 344, "%s", requestUser->username);
|
snprintf(newRequest->username, 344, "%s", requestUser->username);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ extern struct discordInfo_s {
|
||||||
} discordInfo;
|
} discordInfo;
|
||||||
|
|
||||||
typedef struct discordRequest_s {
|
typedef struct discordRequest_s {
|
||||||
tic_t timer; // Tics left on the request before it expires.
|
|
||||||
char *username; // Discord user name.
|
char *username; // Discord user name.
|
||||||
char *discriminator; // Discord discriminator (The little hashtag thing after the username). Separated for a "hide discriminators" cvar.
|
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()
|
char *userID; // The ID of the Discord user, gets used with Discord_Respond()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue