Fix Pause Screen

This commit is contained in:
JappaWakka 2024-05-10 18:55:42 +02:00
parent 8479bd0fc3
commit 813e939090
1 changed files with 3 additions and 3 deletions

View File

@ -199,8 +199,8 @@
Private Sub DrawQuit()
Dim pX As Integer = CInt(Core.ScreenSize.Width / 2) - CInt(FontManager.InGameFont.MeasureString(Localization.GetString("pause_menu_confirmation")).X / 2)
Core.SpriteBatch.DrawInterfaceString(FontManager.InGameFont, Localization.GetString("pause_menu_confirmation"), New Vector2(CInt(pX - 7), CInt(Core.ScreenSize.Height / 7.5) + 110 + 2), Color.Black)
Core.SpriteBatch.DrawInterfaceString(FontManager.InGameFont, Localization.GetString("pause_menu_confirmation"), New Vector2(CInt(pX - 10), CInt(Core.ScreenSize.Height / 7.5) + 110), Color.White)
Core.SpriteBatch.DrawInterfaceString(FontManager.InGameFont, Localization.GetString("pause_menu_confirmation"), New Vector2(CInt(pX - 10 + 2), CInt(160 - FontManager.InGameFont.MeasureString(Localization.GetString("pause_menu_confirmation")).Y / 2) + 2), Color.Black)
Core.SpriteBatch.DrawInterfaceString(FontManager.InGameFont, Localization.GetString("pause_menu_confirmation"), New Vector2(CInt(pX - 10), CInt(160 - FontManager.InGameFont.MeasureString(Localization.GetString("pause_menu_confirmation")).Y / 2)), Color.White)
Dim FontColor As Color
Dim FontShadow As Color = New Color(0, 0, 0, 0)
@ -306,7 +306,7 @@
If JoinServerScreen.Online = True Then
Core.ServersManager.ServerConnection.Disconnect()
End If
MusicManager.ForceMusic = ""
World.setDaytime = -1
World.setSeason = Nothing
Chat.ClearChat()