1

Removed the GetLoadedLightModIndex check

This commit is contained in:
Eddoursul 2023-10-28 19:55:18 +02:00
parent 0089f06a27
commit f2d1d26137
4 changed files with 2 additions and 8 deletions

Binary file not shown.

View File

@ -6,7 +6,7 @@ message("Using toolchain file ${CMAKE_TOOLCHAIN_FILE}.")
########################################################################################################################
project(
ArtifactTracker
VERSION 1.0.10
VERSION 1.0.11
DESCRIPTION "Artifact Tracker"
LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 23)

View File

@ -46,12 +46,6 @@ namespace ArtifactTracker
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")) {
g_cellContainer = form->As<RE::TESBoundObject>(); // ETR_CellStorageContainer
}

View File

@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"name": "artifact-tracker",
"version-string": "1.0.10",
"version-string": "1.0.11",
"port-version": 0,
"description": "Artifact Tracker",
"homepage": "https://mod.pub/skyrim-se/36-artifact-tracker",