add ?entry text? to Quests and show them instead of the name

This commit is contained in:
coderkun 2014-04-17 13:53:21 +02:00
commit 7958dddd05
4 changed files with 61 additions and 8 deletions

View file

@ -270,7 +270,7 @@
$nextQuests = null;
$charactedHasChoosenNextQuest = false;
$nextQuestgroup = null;
if($questtexttypeUrl == 'Epilog')
if($questtexttypeUrl == 'Epilog' || $this->Questtexts->getQuesttextCountOfQuest($quest['id'], 'Epilog') == 0)
{
// Next Quest
$nextQuests = $this->Quests->getNextQuests($quest['id']);