mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Fix signalCall, healthinfo tooltips
This commit is contained in:
@@ -152,6 +152,7 @@ void Application::poll()
|
||||
|
||||
void Application::exit()
|
||||
{
|
||||
g_lua.callGlobalField<bool>("g_app", "onExit");
|
||||
m_stopping = true;
|
||||
}
|
||||
|
||||
|
@@ -506,7 +506,7 @@ int LuaInterface::signalCall(int numArgs, int numRets)
|
||||
}
|
||||
pop(numArgs + 1); // pops the table of function and arguments
|
||||
|
||||
if(numRets == 1) {
|
||||
if(numRets == 1 || numRets == -1) {
|
||||
rets = 1;
|
||||
pushBoolean(done);
|
||||
}
|
||||
|
Reference in New Issue
Block a user