{"action":"created","issue":{"url":"https://api.github.com/repos/Andrettin/Wyrmsun/issues/19","labels_url":"https://api.github.com/repos/Andrettin/Wyrmsun/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/Andrettin/Wyrmsun/issues/19/comments","events_url":"https://api.github.com/repos/Andrettin/Wyrmsun/issues/19/events","html_url":"https://github.com/Andrettin/Wyrmsun/issues/19","id":113262909,"number":19,"title":"Crash when trying to enter Game Concepts menu","user":{"login":"KroArtem","id":1813101,"avatar_url":"https://avatars.githubusercontent.com/u/1813101?v=3","gravatar_id":"","url":"https://api.github.com/users/KroArtem","html_url":"https://github.com/KroArtem","followers_url":"https://api.github.com/users/KroArtem/followers","following_url":"https://api.github.com/users/KroArtem/following{/other_user}","gists_url":"https://api.github.com/users/KroArtem/gists{/gist_id}","starred_url":"https://api.github.com/users/KroArtem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KroArtem/subscriptions","organizations_url":"https://api.github.com/users/KroArtem/orgs","repos_url":"https://api.github.com/users/KroArtem/repos","events_url":"https://api.github.com/users/KroArtem/events{/privacy}","received_events_url":"https://api.github.com/users/KroArtem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-25T23:52:00Z","updated_at":"2015-10-26T11:00:34Z","closed_at":"2015-10-26T11:00:34Z","body":"Wyrmsun b17661cf824859830eb14078965b24852e0c70b1\r\nIf you try to go to Encyclopedia -> Game Concepts, the game will fail with an assertion. \r\n\r\nstratagus-dbg: /home/kroartem/SVN/Wyrmgus/src/guichan/widget.cpp:675: virtual void gcn::Widget::setHotKey(const char*): Assertion `!\"Could not parse hot key\"' failed.\r\n\r\nI've narrowed it down to the file /scripts/game_concepts.lua, where a new button seems to be created with \"\" (empty) hotkey. There seems to be a bug in this for-loop:\r\n```\r\nfor game_concept_key, game_concept_value in pairsByKeys(GameConcepts) do\r\n```\r\n\r\nLeaving the rest to you. ;)"},"comment":{"url":"https://api.github.com/repos/Andrettin/Wyrmsun/issues/comments/151099950","html_url":"https://github.com/Andrettin/Wyrmsun/issues/19#issuecomment-151099950","issue_url":"https://api.github.com/repos/Andrettin/Wyrmsun/issues/19","id":151099950,"user":{"login":"Andrettin","id":6322423,"avatar_url":"https://avatars.githubusercontent.com/u/6322423?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrettin","html_url":"https://github.com/Andrettin","followers_url":"https://api.github.com/users/Andrettin/followers","following_url":"https://api.github.com/users/Andrettin/following{/other_user}","gists_url":"https://api.github.com/users/Andrettin/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrettin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrettin/subscriptions","organizations_url":"https://api.github.com/users/Andrettin/orgs","repos_url":"https://api.github.com/users/Andrettin/repos","events_url":"https://api.github.com/users/Andrettin/events{/privacy}","received_events_url":"https://api.github.com/users/Andrettin/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T11:00:34Z","updated_at":"2015-10-26T11:00:34Z","body":"Thanks again for the feedback :) I compiled a debug build, and managed to reproduce the error. I identified what was still causing it (it was in the Lua code), and fixed that in this commit:\r\nhttps://github.com/Andrettin/Wyrmsun/commit/a8b6c1c3637d4d30ea7779943d911baa761655e7\r\n\r\nAfter doing that, I got this issue no longer."}}