graph: save narrow places to file, so, bump graph version.

graph: allow saving / loading graph manually on dedicated server.
config: fix parsing for difficulty.cfg fixes #142
fix: restore fakeclient bit on entity flags every frame.
This commit is contained in:
ds 2020-07-11 20:34:26 +03:00
commit 2d3078f851
8 changed files with 65 additions and 20 deletions

View file

@ -586,7 +586,7 @@ void BotConfig::loadDifficultyConfig () {
if (util.openConfig ("difficulty.cfg", "Difficulty config file not found. Loading defaults.", &file)) {
while (file.getLine (line)) {
if (isCommentLine (line)) {
if (isCommentLine (line) || line.length () < 3) {
continue;
}
auto items = line.split ("=");