Skip to content

Commit

Permalink
raise char limit for cps code block
Browse files Browse the repository at this point in the history
  • Loading branch information
tslashd committed Jul 13, 2023
1 parent e058d39 commit 91c441e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripting/SurfTimer-discord.sp
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public void OnMapStart()

public void surftimer_OnNewRecord(int client, int style, char[] time, char[] timeDif, int bonusGroup, ArrayList checkpoints)
{
char cpsFinalString[300];
char cpsFinalString[1100];
if(checkpoints != null && checkpoints.Length > 0)
{
RunCheckpoints temp;
Expand Down Expand Up @@ -1006,7 +1006,7 @@ stock void OnResponseReceived(HTTPResponse response, DataPack pack)
ReadPackString(pack, szTimeDif, sizeof szTimeDif);
int bonusGroup = pack.ReadCell();
int stage = pack.ReadCell();
char checkpoints[300];
char checkpoints[1100];
ReadPackString(pack, checkpoints, sizeof(checkpoints));

if (response.Status != HTTPStatus_OK)
Expand Down

0 comments on commit 91c441e

Please sign in to comment.