Fix can use keybind util
This commit is contained in:
@@ -62,7 +62,19 @@ function hasKeyBindDelayElapsed() {
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function canLocalPlayerUseKeyBinds() {
|
function canLocalPlayerUseKeyBinds() {
|
||||||
return true; //(!usingSkinSelector && isSpawned && !itemActionDelayEnabled);
|
if(isAnyGUIActive()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!isSpawned) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(itemActionDelayEnabled) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user