Files

19 lines
412 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MercanRey2.js — getKnowledgeDb() (satır 685)
[← MercanRey2.js](index.md) · [← Master](../../wiki.md)
```javascript
function getKnowledgeDb()
{
var db = mappet.get(KNOWLEDGE_KEY);
if (db == null || db.people == null)
{
var old = mappet.get(OLD_KNOWLEDGE_KEY);
db = old != null && old.people != null ? old : { people: {} };
}
return db;
}
```