Fix steam icons from being loaded too early if the game starts up quickly. Release Build 8330.

mac-build
sigonasr2 8 months ago
parent 3194ade0d8
commit b9c89e5715
  1. 2
      Adventures in Lestoria/AdventuresInLestoria.cpp
  2. 1
      Adventures in Lestoria/Key.cpp
  3. 2
      Adventures in Lestoria/Version.h
  4. BIN
      x64/Release/Adventures in Lestoria.exe

@ -326,7 +326,6 @@ bool AiL::OnUserCreate(){
if(SteamAPI_RestartAppIfNecessary(2895980U))return false; //Immediately quit if steam is detected and can be started through it.
if(Steam_Init()){
std::cout<<"Steam API Initialized successfully!"<<std::endl;
Input::LoadSteamButtonIcons();
}else{
std::cout<<"Steam API failed to initialize!"<<std::endl;
}
@ -3779,6 +3778,7 @@ bool AiL::Steam_Init(){
}
if(SteamInput()!=nullptr){
SteamInput()->Init(false);
Input::LoadSteamButtonIcons();
Input::ingameControlsHandle=SteamInput()->GetActionSetHandle("InGameControls");
}
return true;

@ -668,6 +668,7 @@ void InputGroup::DrawPrimaryInput(const std::variant<AiL*const,TileTransformedVi
case CONTROLLER:{
if(SteamInput()){
primaryKey=GetPrimaryKey(STEAM);
type=STEAM;
}else{
primaryKey=GetPrimaryKey(CONTROLLER);
}

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 0
#define VERSION_MINOR 5
#define VERSION_PATCH 1
#define VERSION_BUILD 8324
#define VERSION_BUILD 8330
#define stringify(a) stringify_(a)
#define stringify_(a) #a

Loading…
Cancel
Save