mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
Compare commits
2 Commits
017eb85b69
...
2f8baadaea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f8baadaea | ||
|
|
e391f966bb |
@ -198,7 +198,14 @@ int32_t Script_ShowTerminationWithoutNoticeNotice(lua_State* L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_TerminationWithoutNoticeAccepted(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) {
|
int32_t Script_AcceptTerminationWithoutNotice(lua_State* L) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user