codex items: mark unread if already known so that it reopens
This commit is contained in:
parent
80109a8181
commit
6fc52e2fe7
@ -33,6 +33,7 @@ void CodexItem::fireTriggered() {
|
||||
if (codexLearned) {
|
||||
player->queueUIMessage(Root::singleton().assets()->json("/codex.config:messages.learned").toString());
|
||||
} else {
|
||||
player->codexes()->markCodexUnread(m_codexId);
|
||||
player->queueUIMessage(Root::singleton().assets()->json("/codex.config:messages.alreadyKnown").toString());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user