Skip to content

Commit

Permalink
Revert "fix double libs loading (otland#4855)"
Browse files Browse the repository at this point in the history
This reverts commit 6f05ea8.
  • Loading branch information
ArturKnopik committed Nov 25, 2024
1 parent cf38586 commit a0ff47b
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 a0ff47b

Please sign in to comment.