diff --git a/src/zeroxfc/nullpo/custom/modes/Deltatris.java b/src/zeroxfc/nullpo/custom/modes/Deltatris.java index ef42ef0..8e70662 100644 --- a/src/zeroxfc/nullpo/custom/modes/Deltatris.java +++ b/src/zeroxfc/nullpo/custom/modes/Deltatris.java @@ -165,6 +165,7 @@ public void playerInit( GameEngine engine, int playerID ) { } version = CURRENT_VERSION; + PLAYER_NAME = null; } else { loadSetting( owner.replayProp ); if ( ( version == 0 ) && ( owner.replayProp.getProperty( "deltatris.endless", false ) ) ) goaltype = 2; @@ -520,7 +521,7 @@ public void renderLast( GameEngine engine, int playerID ) { receiver.drawScoreFont( engine, playerID, 0, 17, "SPEED", EventReceiver.COLOR_RED ); - if ( ( playerProperties != null && playerProperties.isLoggedIn() ) || PLAYER_NAME.length() > 0 ) { + if ( ( playerProperties != null && playerProperties.isLoggedIn() ) || ( PLAYER_NAME != null && PLAYER_NAME.length() > 0 ) ) { receiver.drawScoreFont( engine, playerID, 8, 17, "PLAYER", EventReceiver.COLOR_BLUE ); receiver.drawScoreFont( engine, playerID, 8, 18, owner.replayMode ? PLAYER_NAME : playerProperties.getNameDisplay(), EventReceiver.COLOR_WHITE, 2f ); }