Move Staff game actions into GameActions namespace

This commit is contained in:
Aaron van Geffen committed 2025-08-26 18:34:31 +02:00
1 parent 1a37409390
commit 620c1f40ef
24 files changed
+959 -928

No files matched your search

+1 -1
View File
@@ -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());