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