mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-04 15:27:30 +07:00
Fix to prevent profiler activation key from triggering when console is open
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user