We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6149a43 commit 0aec4e3Copy full SHA for 0aec4e3
1 file changed
libs/libGamedata/lua/GameDataLoader.cpp
@@ -16,6 +16,7 @@
16
#include <kaguya/kaguya.hpp>
17
#include <boost/filesystem.hpp>
18
#include <stdexcept>
19
+#include <iostream>
20
21
namespace bfs = boost::filesystem;
22
@@ -42,13 +43,16 @@ bool GameDataLoader::Load()
42
43
errorInIncludeFile_ = false;
44
try
45
{
- if(!loadScript(curFile_))
46
+ bool res = loadScript(curFile_);
47
+ std::cerr << "Loaded " << curFile_ << ':' << res << std::endl;
48
+ if(!res)
49
return false;
50
} catch(const std::exception& e)
51
52
LOG.write("Failed to load game data!\nReason: %1%\nCurrent file being processed: %2%\n") % e.what() % curFile_;
53
54
}
55
+ std::cerr << "Loade2d " << curFile_ << ':' << !errorInIncludeFile_ << std::endl;
56
return !errorInIncludeFile_;
57
58
0 commit comments