Skip to content

Commit

Permalink
Revert "fix double libs loading (#4855)" (#4859)
Browse files Browse the repository at this point in the history
This reverts commit 6f05ea8.
  • Loading branch information
ArturKnopik authored Nov 25, 2024
1 parent cf38586 commit ccfd367
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/npc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ccfd367

Please sign in to comment.