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:
ragnarok-clanker 2026-11-09 20:52:27 +00:00
commit e2b05300fa

View file

@ -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);
}