mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(glue): use correct comparison in GetRealmInfo script handler
This commit is contained in:
parent
6811eb49d6
commit
a3b285497a
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ int32_t Script_GetRealmInfo(lua_State* L) {
|
|||
: nullptr;
|
||||
int32_t realmIndex = lua_tonumber(L, 2) - 1;
|
||||
|
||||
if (realmCategory && realmIndex > realmCategory->uint14) {
|
||||
if (realmCategory && realmIndex < realmCategory->uint14) {
|
||||
realmInfo = ClientServices::GetRealmInfoByIndex(realmCategory->m_realms[realmIndex]);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue