Move configuration block (WORLD_DIR, CHATLOG_FILE, etc.) before the ChatLog class definition. Previously CHATLOG_FILE was defined at line ~254 but used at line ~200 inside ChatLog.log(), causing NameError on every chat message persistence attempt. Fixes #1349.
121 KiB
121 KiB