MCE: fix cd time bug
This commit is contained in:
parent
9f0573e1af
commit
721a888463
@ -2118,6 +2118,8 @@ public int Native_ExcludeMapTime(Handle plugin, int numParams)
|
|||||||
int NewCooldown = GetTime() + GetNativeCell(2);
|
int NewCooldown = GetTime() + GetNativeCell(2);
|
||||||
if(NewCooldown > Cooldown)
|
if(NewCooldown > Cooldown)
|
||||||
Cooldown = GetNativeCell(2);
|
Cooldown = GetNativeCell(2);
|
||||||
|
else
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Cooldown += GetTime();
|
Cooldown += GetTime();
|
||||||
|
Loading…
Reference in New Issue
Block a user