From 247386896506202aed0ff61a0d63f2a01a6ac507 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Mon, 25 Nov 2024 23:57:55 +0100 Subject: [PATCH] Added fail-save for when the user tries to run two instances of EID simultaniously --- main.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/main.lua b/main.lua index 15e98308..7fd15874 100644 --- a/main.lua +++ b/main.lua @@ -1,3 +1,4 @@ +if EID and EID.Name then print("Error: Two instances of EID found! Please uninstall one of them!") return end -- If EID is already loaded, warn the user and dont load the second one. EID = RegisterMod("External Item Descriptions", 1) -- important variables EID.GameVersion = "ab+"