1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +01:00

Dukvalue uint int fixes

This commit is contained in:
Arnold Zhou
2024-06-07 05:39:22 +10:00
committed by GitHub
parent 71a8eee5c6
commit 0254b570d8
17 changed files with 44 additions and 43 deletions

View File

@@ -268,7 +268,7 @@ namespace OpenRCT2::Scripting
{
if (item.type() == DukValue::Type::NUMBER)
{
playerIds.push_back(static_cast<uint8_t>(item.as_int()));
playerIds.push_back(static_cast<uint8_t>(item.as_uint()));
}
}
if (!playerArray.empty())