feat(ui): implement Script_RealmListUpdateRate (#110)

Co-authored-by: fallenoak <git@fallenoak.me>
This commit is contained in:
Tristan 'Natrist' Cormierandfallenoak authored and GitHub committed 2025-10-08 21:44:40 -05:00
1 parent 26f2255f53
commit 0c2db0a97d
1 file changed
+7 -1
+7 -1
View File
@@ -15,7 +15,13 @@ int32_t Script_RequestRealmList(lua_State* L) {
}
int32_t Script_RealmListUpdateRate(lua_State* L) {
WHOA_UNIMPLEMENTED(0);
if (ClientServices::LoginConnection() && ClientServices::LoginConnection()->GetLoginServerType() == 1) {
lua_pushnumber(L, 4.0);
} else {
lua_pushnumber(L, 5.0);
}
return 1;
}
int32_t Script_CancelRealmListQuery(lua_State* L) {