Decompile fn_18332 (LuaScript::TableKeys)
Batch #15245 by kyoshi: 0 byte-identical, 1 confirmed by peer review. - fn_18332 LuaScript::TableKeys: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
867f101e6f
commit
e2b05300fa
1 changed files with 1 additions and 1 deletions
|
|
@ -1242,7 +1242,7 @@ std::list<int> LuaScript::TableKeys(std::string_view name) {
|
|||
lua_pushnil(this->m_state);
|
||||
|
||||
while (lua_next(this->m_state, -2)) {
|
||||
keys.push_back(static_cast<int>(lua_tonumber(this->m_state, -2)));
|
||||
keys.push_back(lua_tointeger(this->m_state, -2));
|
||||
lua_pop(this->m_state, 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue