From 879a303edae63e0f992c21585d72bef7d2386bec Mon Sep 17 00:00:00 2001 From: KrecikOnDexin Date: Sun, 24 Nov 2024 15:58:52 +0100 Subject: [PATCH] fix double libs loading --- src/npc.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/npc.cpp b/src/npc.cpp index add4658be9..ebda20b00f 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -25,7 +25,6 @@ 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;