Skip to content

Commit

Permalink
Changed a small bug causing actions to not have any titles.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vassyli committed Mar 22, 2019
1 parent 8d9a186 commit 2ff8d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Game.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ private function navigateToScene(Scene $scene, array $parameters)
}

$this->getLogger()->addDebug(" Adding navigation action for child sceneId={$connectedScene->getId()}");
$action = new Action($connectedScene->getId());
$action = new Action($connectedScene->getId(), $connectedScene->getTitle());

if ($connectionGroupName === null) {
$actionGroups[ActionGroup::DefaultGroup]->addAction($action);
Expand Down

0 comments on commit 2ff8d64

Please sign in to comment.