mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-06 22:59:53 +03:00
Merge e391f966bb into fa98bbc1f0
This commit is contained in:
commit
4d71b764b8
1 file changed
+8
-1
@@ -204,7 +204,14 @@ int32_t Script_ShowTerminationWithoutNoticeNotice(lua_State* L) {
|
||||
}
|
||||
|
||||
int32_t Script_TerminationWithoutNoticeAccepted(lua_State* L) {
|
||||
WHOA_UNIMPLEMENTED(0);
|
||||
if (CGlueMgr::m_acceptedTerminationWithoutNotice) {
|
||||
lua_pushnumber(L, 1.0);
|
||||
}
|
||||
else {
|
||||
lua_pushnil(L);
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int32_t Script_AcceptTerminationWithoutNotice(lua_State* L) {
|
||||
|
||||
Reference in new issue
Block a user