Skip to content

Commit

Permalink
fix double libs loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturKnopik committed Nov 24, 2024
1 parent bc60e5e commit 879a303
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/npc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 879a303

Please sign in to comment.