mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
update SplashScreen NPE
This commit is contained in:
@@ -107,6 +107,8 @@ public class SplashScreen extends FContainer {
|
||||
private float progress = 0;
|
||||
private boolean finished, openAdventure;
|
||||
private void drawAdventureBackground(Graphics g) {
|
||||
if (splashTexture == null)
|
||||
return;
|
||||
float percentage = progress / DURATION;
|
||||
float oldAlpha = g.getfloatAlphaComposite();
|
||||
if (percentage < 0) {
|
||||
|
||||
Reference in New Issue
Block a user