BRClient.Init bool result, messagebox on error
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
scriptname BRClient
|
||||
|
||||
function Init() global native
|
||||
bool function Init() global native
|
||||
bool function StatusCheck(string apiKey, quest quest) global native
|
||||
string function GenerateApiKey() global native
|
||||
@@ -26,7 +26,9 @@ endEvent
|
||||
function Maintenance()
|
||||
Debug.Trace("BRQuestScript Maintenance")
|
||||
UILib = (Self as Form) as UILIB_1
|
||||
BRClient.Init()
|
||||
if !BRClient.Init()
|
||||
Debug.MessageBox("Failed to initialize Bazaar Realm client. Please ensure that the folder Documents\\My Games\\Skyrim Special Edition\\SKSE exists and is accessible by Skyrim.")
|
||||
endif
|
||||
int newVersion = GetVersion()
|
||||
if ModVersion < newVersion
|
||||
ModVersion = newVersion
|
||||
|
||||
Reference in New Issue
Block a user