Set VSync once the settings loads, since emscripten builds do not respect the vsync parameter at the very start of launching.

pull/57/head
sigonasr2 8 months ago
parent f2929d915d
commit ea74eec6f8
  1. 1
      Adventures in Lestoria/GameSettings.cpp
  2. 2
      Adventures in Lestoria/TODO.txt

@ -150,6 +150,7 @@ void GameSettings::Initialize(){
if(loadSystemFile.HasProperty("VSync")){
GameSettings::SetVSync(loadSystemFile["VSync"].GetBool());
Component<Checkbox>(SETTINGS,"VSync Checkbox")->SetChecked(loadSystemFile["VSync"].GetBool());
game->SetVSync(GameSettings::VSyncEnabled());
}
if(loadSystemFile.HasProperty("Controller Icons")){
const int maxIterations=10;

@ -1,7 +1,5 @@
Equip Gear using Start menu tutorial
Manual aim does not override movement choice.
============================================
Make another actions config file for the main build (The app # is different)
Loading…
Cancel
Save