Story Viewer: don't only validate presence of [part] tags under [story]
I forgot control tags like [switch] are allowed under [story]. This should hopefully fix bug #25655
This commit is contained in:
parent
1adeb98dd8
commit
f9004970c4
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ void show_story(CVideo& video, const std::string &scenario_name,
|
|||
cfg.append_children(iter);
|
||||
}
|
||||
|
||||
if(!cfg.has_child("part")) {
|
||||
if(cfg.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue