mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-30 15:27:21 +01:00
Update settings_parser.cpp
This commit is contained in:
parent
7a59f48000
commit
d9b9b990f3
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ uint32 create_localstorage_settings(Settings **settings_client_out, Settings **s
|
||||||
uint64 steam_id = 0;
|
uint64 steam_id = 0;
|
||||||
bool generate_new = false;
|
bool generate_new = false;
|
||||||
//try to load steam id from game specific settings folder first
|
//try to load steam id from game specific settings folder first
|
||||||
if (local_storage->get_data(SETTINGS_STORAGE_FOLDER, "user_steam_id.txt", array_steam_id, sizeof(array_steam_id) - 1) > 0) {
|
if (local_storage->get_data(Local_Storage::settings_storage_folder, "user_steam_id.txt", array_steam_id, sizeof(array_steam_id) - 1) > 0) {
|
||||||
user_id = CSteamID((uint64)std::atoll(array_steam_id));
|
user_id = CSteamID((uint64)std::atoll(array_steam_id));
|
||||||
if (!user_id.IsValid()) {
|
if (!user_id.IsValid()) {
|
||||||
generate_new = true;
|
generate_new = true;
|
||||||
|
|
Loading…
Reference in a new issue