1

Fixed check for ESP

This commit is contained in:
Eddoursul 2023-10-26 23:35:42 +02:00
parent bd4d2a5f88
commit 0089f06a27
4 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

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

View File

@ -46,7 +46,7 @@ namespace ArtifactTracker
SKSE::GetModCallbackEventSource()->RemoveEventSink(EventListener::GetSingleton());
if (!dataHandler->GetLoadedLightModIndex("Artifact Tracker.esp")) {
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;

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.9",
"version-string": "1.0.10",
"port-version": 0,
"description": "Artifact Tracker",
"homepage": "https://mod.pub/skyrim-se/36-artifact-tracker",