|
|
@ -116,15 +116,16 @@ SKSEPluginLoad(const LoadInterface* skse) { |
|
|
|
|
|
|
|
|
|
|
|
GetPapyrusInterface()->Register(Papyrus::Bind); |
|
|
|
GetPapyrusInterface()->Register(Papyrus::Bind); |
|
|
|
|
|
|
|
|
|
|
|
if (skse->RuntimeVersion() != RUNTIME_VR_1_4_15 && skse->RuntimeVersion() != RUNTIME_LATEST_VR && g_settings.at("FlatMapMarkers")) { |
|
|
|
if (!IsVR()) { |
|
|
|
logger::info("Initializing Flat Map Markers..."); |
|
|
|
if (g_settings.at("FlatMapMarkers")) { |
|
|
|
SKSE::AllocTrampoline(1 << 4); |
|
|
|
logger::info("Initializing Flat Map Markers..."); |
|
|
|
FlatMapMarkers::Install(); |
|
|
|
SKSE::AllocTrampoline(1 << 4); |
|
|
|
} |
|
|
|
FlatMapMarkers::Install(); |
|
|
|
|
|
|
|
} |
|
|
|
if (g_settings.at("StayAtSystemPage")) { |
|
|
|
if (g_settings.at("StayAtSystemPage")) { |
|
|
|
logger::info("Initializing Stay At The System Page..."); |
|
|
|
logger::info("Initializing Stay At The System Page..."); |
|
|
|
JournalMenuEx::InstallHooks(); |
|
|
|
JournalMenuEx::InstallHooks(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
logger::info("{} has finished loading.", plugin->GetName()); |
|
|
|
logger::info("{} has finished loading.", plugin->GetName()); |
|
|
|