mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Remove timer variable
Doesn't feel necessary to me anymore, especially with how the menu works
This commit is contained in:
parent
f61e3a77bd
commit
e5238d095f
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);
|
||||
|
||||
// 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);
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue