fix: Update nodeId to a uint32 in GetKnownTaxiNodes (#298)

This commit is contained in:
Aldori
2025-08-22 13:28:57 -04:00
committed by GitHub
parent a63ef3fe8c
commit afae63555b

View File

@@ -1683,7 +1683,7 @@ namespace LuaPlayer
{ {
if (mask & (1 << bit)) if (mask & (1 << bit))
{ {
uint8 nodeId = (i * 32) + bit + 1; uint32 nodeId = (i * 32) + bit + 1;
lua_pushinteger(L, nodeId); lua_pushinteger(L, nodeId);
lua_rawseti(L, -2, lua_rawlen(L, -2) + 1); lua_rawseti(L, -2, lua_rawlen(L, -2) + 1);
} }