mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-09 10:28:25 +07:00
Fix to prevent profiler activation key from triggering when console is open
This commit is contained in:
parent
dac10467fa
commit
9c586f90d0
@ -13,6 +13,8 @@ import com.badlogic.gdx.scenes.scene2d.Stage;
|
||||
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
|
||||
import com.badlogic.gdx.utils.Align;
|
||||
|
||||
import com.riiablo.Riiablo;
|
||||
|
||||
/**
|
||||
* Example profiling system.
|
||||
*
|
||||
@ -69,7 +71,9 @@ public class ProfilerSystem extends BaseSystem {
|
||||
return;
|
||||
}
|
||||
|
||||
checkActivationButton();
|
||||
if (!Riiablo.console.isVisible()) {
|
||||
checkActivationButton();
|
||||
}
|
||||
|
||||
if (gui.isVisible()) {
|
||||
processInput();
|
||||
|
Loading…
Reference in New Issue
Block a user