mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 03:18:25 +00:00
Fix shavit_core_forcebunnyhopping.
This commit is contained in:
parent
84fbbf6a6f
commit
d5d89ac129
@ -396,19 +396,11 @@ public void OnMapStart()
|
|||||||
|
|
||||||
public void OnConfigsExecuted()
|
public void OnConfigsExecuted()
|
||||||
{
|
{
|
||||||
if(sv_enablebunnyhopping != null)
|
if(sv_enablebunnyhopping != null && gB_ForceBunnyhopping)
|
||||||
{
|
|
||||||
if(gB_ForceBunnyhopping)
|
|
||||||
{
|
{
|
||||||
sv_enablebunnyhopping.BoolValue = true;
|
sv_enablebunnyhopping.BoolValue = true;
|
||||||
sv_enablebunnyhopping.SetBounds(ConVarBound_Lower, true, 1.0);
|
sv_enablebunnyhopping.SetBounds(ConVarBound_Lower, true, 1.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
else
|
|
||||||
{
|
|
||||||
sv_enablebunnyhopping.SetBounds(ConVarBound_Lower, true, 0.0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Action Command_StartTimer(int client, int args)
|
public Action Command_StartTimer(int client, int args)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user