Commit 693001c3 authored by Mikleo's avatar Mikleo
Browse files

Fix issue with draft queue going negative.

parent 40e383fd
Pipeline #7173 passed with stages
in 18 seconds
......@@ -8,7 +8,7 @@
#include <empstats>
#include <updater>
#define PluginVersion "0.95"
#define PluginVersion "0.96"
#define UPDATE_URL "https://sourcemod.docs.empiresmod.com/DraftPick/dist/updater.txt"
......@@ -793,7 +793,8 @@ void StartBatchJoin(int client,int time)
public Action Timer_BatchJoin(Handle timer,any data)
{
batchJoinTime --;
if(batchJoinTime == 0)
// catch edge case where jointime starts less than 0.
if(batchJoinTime <= 0)
{
KillTimer(timer);
......
......@@ -4,7 +4,7 @@
{
"Version"
{
"Latest" "0.95"
"Latest" "0.96"
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment