forked from rosebudai/OpenRCT2-Web
Move Staff game actions into GameActions namespace
This commit is contained in:
1 parent
1a37409390
commit
620c1f40ef
24 files changed
+959
-928
No files matched your search
@@ -1234,7 +1234,7 @@ DukValue ScriptEngine::GameActionResultToDuk(const GameAction& action, const Gam
|
||||
{
|
||||
if (result.Error == GameActions::Status::Ok)
|
||||
{
|
||||
const auto actionResult = result.GetData<StaffHireNewActionResult>();
|
||||
const auto actionResult = result.GetData<GameActions::StaffHireNewActionResult>();
|
||||
if (!actionResult.StaffEntityId.IsNull())
|
||||
{
|
||||
obj.Set("peep", actionResult.StaffEntityId.ToUnderlying());
|
||||
|
||||
Reference in new issue
Block a user