Removed the GetLoadedLightModIndex check
This commit is contained in:
parent
0089f06a27
commit
f2d1d26137
Binary file not shown.
@ -6,7 +6,7 @@ message("Using toolchain file ${CMAKE_TOOLCHAIN_FILE}.")
|
|||||||
########################################################################################################################
|
########################################################################################################################
|
||||||
project(
|
project(
|
||||||
ArtifactTracker
|
ArtifactTracker
|
||||||
VERSION 1.0.10
|
VERSION 1.0.11
|
||||||
DESCRIPTION "Artifact Tracker"
|
DESCRIPTION "Artifact Tracker"
|
||||||
LANGUAGES CXX)
|
LANGUAGES CXX)
|
||||||
set(CMAKE_CXX_STANDARD 23)
|
set(CMAKE_CXX_STANDARD 23)
|
||||||
|
@ -46,12 +46,6 @@ namespace ArtifactTracker
|
|||||||
|
|
||||||
SKSE::GetModCallbackEventSource()->RemoveEventSink(EventListener::GetSingleton());
|
SKSE::GetModCallbackEventSource()->RemoveEventSink(EventListener::GetSingleton());
|
||||||
|
|
||||||
if (!dataHandler->GetLoadedLightModIndex("Artifact Tracker.esp").has_value()) {
|
|
||||||
log::warn("Artifact Tracker.esp is not loaded");
|
|
||||||
RE::DebugMessageBox("Unable to find Artifact Tracker.esp, the mod is disabled.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (const auto& form = dataHandler->LookupForm(0x804, "Artifact Tracker.esp")) {
|
if (const auto& form = dataHandler->LookupForm(0x804, "Artifact Tracker.esp")) {
|
||||||
g_cellContainer = form->As<RE::TESBoundObject>(); // ETR_CellStorageContainer
|
g_cellContainer = form->As<RE::TESBoundObject>(); // ETR_CellStorageContainer
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
|
||||||
"name": "artifact-tracker",
|
"name": "artifact-tracker",
|
||||||
"version-string": "1.0.10",
|
"version-string": "1.0.11",
|
||||||
"port-version": 0,
|
"port-version": 0,
|
||||||
"description": "Artifact Tracker",
|
"description": "Artifact Tracker",
|
||||||
"homepage": "https://mod.pub/skyrim-se/36-artifact-tracker",
|
"homepage": "https://mod.pub/skyrim-se/36-artifact-tracker",
|
||||||
|
Loading…
Reference in New Issue
Block a user