mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Add Lua errors to error dialog
This commit is contained in:
parent
1455267c9e
commit
0d65ee878c
4 changed files with 60 additions and 38 deletions
|
@ -51,8 +51,8 @@ public:
|
|||
ScriptApiBase();
|
||||
virtual ~ScriptApiBase();
|
||||
|
||||
bool loadMod(const std::string &script_path, const std::string &mod_name);
|
||||
bool loadScript(const std::string &script_path);
|
||||
bool loadMod(const std::string &script_path, const std::string &mod_name, std::string *error=NULL);
|
||||
bool loadScript(const std::string &script_path, std::string *error=NULL);
|
||||
|
||||
/* object */
|
||||
void addObjectReference(ServerActiveObject *cobj);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue