make fullscreen use the proper mode on reboot

This commit is contained in:
minenice55 2024-01-08 23:48:47 -05:00 committed by GitHub
parent e2070c5fa3
commit 92da1f808e

View file

@ -117,7 +117,7 @@ namespace HeavenStudio
QualitySettings.maxQueuedFrames = 2;
if (PersistentDataManager.gameSettings.isFullscreen)
{
Screen.SetResolution(Display.main.systemWidth, Display.main.systemHeight, FullScreenMode.ExclusiveFullScreen);
Screen.SetResolution(Display.main.systemWidth, Display.main.systemHeight, FullScreenMode.FullScreenWindow);
Screen.fullScreen = true;
}
else