Fix all uses of RideId

This commit is contained in:
ζeh Matt committed 2022-02-12 18:11:18 +02:00
1 parent 0656df4a65
commit 4554d6d883
41 files changed
+159 -159

No files matched your search

+1 -1
View File
@@ -892,7 +892,7 @@ DukValue ScriptEngine::GameActionResultToDuk(const GameAction& action, const Gam
if (result.Error == GameActions::Status::Ok)
{
const auto rideIndex = result.GetData<RideId>();
obj.Set("ride", EnumValue(rideIndex));
obj.Set("ride", rideIndex.ToUnderlying());
}
}
else if (action.GetType() == GameCommand::HireNewStaffMember)