{"action":"created","issue":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/1141","repository_url":"https://api.github.com/repos/CorsixTH/CorsixTH","labels_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/1141/labels{/name}","comments_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/1141/comments","events_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/1141/events","html_url":"https://github.com/CorsixTH/CorsixTH/pull/1141","id":183194099,"number":1141,"title":"[WIP] Rename Room's 'room_info' member variable to 'data'.","user":{"login":"sgtbigman","id":8128605,"avatar_url":"https://avatars.githubusercontent.com/u/8128605?v=3","gravatar_id":"","url":"https://api.github.com/users/sgtbigman","html_url":"https://github.com/sgtbigman","followers_url":"https://api.github.com/users/sgtbigman/followers","following_url":"https://api.github.com/users/sgtbigman/following{/other_user}","gists_url":"https://api.github.com/users/sgtbigman/gists{/gist_id}","starred_url":"https://api.github.com/users/sgtbigman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgtbigman/subscriptions","organizations_url":"https://api.github.com/users/sgtbigman/orgs","repos_url":"https://api.github.com/users/sgtbigman/repos","events_url":"https://api.github.com/users/sgtbigman/events{/privacy}","received_events_url":"https://api.github.com/users/sgtbigman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-15T07:09:51Z","updated_at":"2016-10-18T11:35:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/pulls/1141","html_url":"https://github.com/CorsixTH/CorsixTH/pull/1141","diff_url":"https://github.com/CorsixTH/CorsixTH/pull/1141.diff","patch_url":"https://github.com/CorsixTH/CorsixTH/pull/1141.patch"},"body":"room_info holds room-based data, and since it is already attached to a\nRoom object, the 'room_' part of the variable is redundant.\n\n- This refactor helps simplify code snippets from `room.room_info` to\n`room.data`.\n\n*Note*: I need to test this more on my end; an old save seems to be\nthrowing errors about `room.data` being `nil` in the `hasRoomOfType`\nfunction called in the Hospital `tick` function.\n\nAlso, if this is not worth pursuing, feel free to let me know.\n\nThanks."},"comment":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/comments/254481886","html_url":"https://github.com/CorsixTH/CorsixTH/pull/1141#issuecomment-254481886","issue_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/1141","id":254481886,"user":{"login":"TheCycoONE","id":823433,"avatar_url":"https://avatars.githubusercontent.com/u/823433?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCycoONE","html_url":"https://github.com/TheCycoONE","followers_url":"https://api.github.com/users/TheCycoONE/followers","following_url":"https://api.github.com/users/TheCycoONE/following{/other_user}","gists_url":"https://api.github.com/users/TheCycoONE/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCycoONE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCycoONE/subscriptions","organizations_url":"https://api.github.com/users/TheCycoONE/orgs","repos_url":"https://api.github.com/users/TheCycoONE/repos","events_url":"https://api.github.com/users/TheCycoONE/events{/privacy}","received_events_url":"https://api.github.com/users/TheCycoONE/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T11:35:40Z","updated_at":"2016-10-18T11:35:40Z","body":"My feeling is that the name data is not worth pursuing because it has no semantic meaning. I understand what is stored in this table is room type information."}}
{"actor":{"display_login":"TheCycoONE"}}