mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Fix possible runtime exceptions with Targeting Overlay.
This commit is contained in:
@@ -365,7 +365,7 @@ public class TargetingOverlay {
|
|||||||
@Override
|
@Override
|
||||||
public void paintComponent(final Graphics g) {
|
public void paintComponent(final Graphics g) {
|
||||||
// No need for this except in match view
|
// No need for this except in match view
|
||||||
if (!Singletons.getControl().getCurrentScreen().isMatchScreen()) {
|
if (Singletons.getControl().getCurrentScreen() != matchUI.getScreen()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user