mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 02:25:32 -04:00
Fix a very silly mistake there.
This commit is contained in:
parent
cbe7b2c840
commit
975ce17b6e
@ -56,8 +56,10 @@ namespace ClassicalSharp {
|
||||
}
|
||||
|
||||
void CheckHacksAllowed( object sender, EventArgs e ) {
|
||||
for( int i = 0; i < buttons.Length; i++ )
|
||||
for( int i = 0; i < buttons.Length; i++ ) {
|
||||
if( buttons[i] == null ) continue;
|
||||
buttons[i].Disabled = false;
|
||||
}
|
||||
if( !game.LocalPlayer.CanAnyHacks ) {
|
||||
buttons[2].Disabled = true; // hack permissions
|
||||
buttons[3].Disabled = true; // env settings
|
||||
|
Loading…
x
Reference in New Issue
Block a user