Added dependency check for JContainers

This commit is contained in:
Eddoursul 2021-12-07 21:28:12 +01:00
parent 3b0698d158
commit 3b6216a76e
2 changed files with 7 additions and 0 deletions

Binary file not shown.

View File

@ -101,6 +101,13 @@ Function CheckIfForgottenStoriesIsLoaded()
Return
endif
if SKSE.GetPluginVersion("JContainers64") == -1
Utility.wait(2.0)
Game.QuitToMainMenu()
Debug.MessageBox("JContainers is not loaded! The game will not run properly. Verify integrity of your files or reinstall JContainers.")
Return
endif
; fixes properties that were accidentally set to NONE by the "More Affinities" mod
If Game.GetModByName("Enderal_FS_More_Affinities.esp") != 255
FixMoreAffinitiesMod()