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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user