From ccfd367bfc3ba27c28ffd4da12010c9c86db4b4f Mon Sep 17 00:00:00 2001 From: KrecikOnDexin Date: Mon, 25 Nov 2024 22:15:31 +0100 Subject: [PATCH] Revert "fix double libs loading (#4855)" (#4859) This reverts commit 6f05ea840d77a39695d6f44b5dc0dd49fa6c0be3. --- src/npc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/npc.cpp b/src/npc.cpp index ebda20b00f..add4658be9 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -25,6 +25,7 @@ void load(bool reload /*= false*/) return; } + scriptInterface->loadFile("data/global.lua"); if (!scriptInterface->loadNpcLib("data/npc/lib/npc.lua")) { std::cout << "[Warning - NpcLib::NpcLib] Can not load lib: data/npc/lib/npc.lua" << std::endl; std::cout << scriptInterface->getLastLuaError() << std::endl;