{"action":"created","issue":{"url":"https://api.github.com/repos/sunfall/endgame-singularity/issues/51","labels_url":"https://api.github.com/repos/sunfall/endgame-singularity/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/sunfall/endgame-singularity/issues/51/comments","events_url":"https://api.github.com/repos/sunfall/endgame-singularity/issues/51/events","html_url":"https://github.com/sunfall/endgame-singularity/issues/51","id":59710785,"number":51,"title":"Game crashes when destroying non-existant machines","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sunfall/endgame-singularity/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/sunfall/endgame-singularity/labels/Milestone-0.28","name":"Milestone-0.28","color":"ededed"},{"url":"https://api.github.com/repos/sunfall/endgame-singularity/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/sunfall/endgame-singularity/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-03T21:44:14Z","updated_at":"2015-03-03T21:44:15Z","closed_at":"2015-03-03T21:44:14Z","body":"```\nWhat steps will reproduce the problem?\n1. start new game\n2. open location\n3. press \"destroy\"\n\ninstead of displaying an error message, the game crashes with this message:\n\nTraceback (most recent call last):\n  File \"singularity.py\", line 157, in <module>\n    game_action = map_screen.map_loop()\n  File \"/usr/share/games/singularity/code/map_screen.py\", line 747, in map_loop\n    display_base_list(button.button_id, menu_buttons)\n  File \"/usr/share/games/singularity/code/map_screen.py\", line 861, in\ndisplay_base_list\n    tmp = display_base_list_inner(location)\n  File \"/usr/share/games/singularity/code/map_screen.py\", line 1024, in\ndisplay_base_list_inner\n    if g.bases[location][base_pos].built == 0:\nIndexError: list index out of range\n\n$ uname -a\nLinux miles 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008 i686\nGNU/Linux\n\n$ python -V\nPython 2.5.2\n\n$ dpkg -l | grep singularity\nii  singularity  0.26a+r409-5\n\n\n\n \n```\n\nOriginal issue reported on code.google.com by `waas...@googlemail.com` on 7 Jun 2008 at 5:44"},"comment":{"url":"https://api.github.com/repos/sunfall/endgame-singularity/issues/comments/77042489","html_url":"https://github.com/sunfall/endgame-singularity/issues/51#issuecomment-77042489","issue_url":"https://api.github.com/repos/sunfall/endgame-singularity/issues/51","id":77042489,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T21:44:15Z","updated_at":"2015-03-03T21:44:15Z","body":"```\nThis appears to have been fixed by 0.27, and the feature was not in our release \nof\n0.26a.  Bug your distro about a package for 0.27 or (better yet) 0.28.\n```\n\nOriginal comment by `funnyman3595` on 13 Jun 2008 at 8:05\n* Changed state: **Fixed**\n* Added labels: **Milestone-0.28**"}}