{"action":"created","issue":{"url":"https://api.github.com/repos/Terasology/DynamicCities/issues/11","repository_url":"https://api.github.com/repos/Terasology/DynamicCities","labels_url":"https://api.github.com/repos/Terasology/DynamicCities/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/Terasology/DynamicCities/issues/11/comments","events_url":"https://api.github.com/repos/Terasology/DynamicCities/issues/11/events","html_url":"https://github.com/Terasology/DynamicCities/issues/11","id":168950646,"number":11,"title":"District overlay is only visible for the server","user":{"login":"CptCrispyCrunchy","id":11363229,"avatar_url":"https://avatars.githubusercontent.com/u/11363229?v=3","gravatar_id":"","url":"https://api.github.com/users/CptCrispyCrunchy","html_url":"https://github.com/CptCrispyCrunchy","followers_url":"https://api.github.com/users/CptCrispyCrunchy/followers","following_url":"https://api.github.com/users/CptCrispyCrunchy/following{/other_user}","gists_url":"https://api.github.com/users/CptCrispyCrunchy/gists{/gist_id}","starred_url":"https://api.github.com/users/CptCrispyCrunchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CptCrispyCrunchy/subscriptions","organizations_url":"https://api.github.com/users/CptCrispyCrunchy/orgs","repos_url":"https://api.github.com/users/CptCrispyCrunchy/repos","events_url":"https://api.github.com/users/CptCrispyCrunchy/events{/privacy}","received_events_url":"https://api.github.com/users/CptCrispyCrunchy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Terasology/DynamicCities/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-02T18:07:59Z","updated_at":"2016-08-06T15:53:03Z","closed_at":null,"body":"As I registered most of the systems only in `AUTHORITY` mode, the client does not get a copy of the district facet. "},"comment":{"url":"https://api.github.com/repos/Terasology/DynamicCities/issues/comments/238030080","html_url":"https://github.com/Terasology/DynamicCities/issues/11#issuecomment-238030080","issue_url":"https://api.github.com/repos/Terasology/DynamicCities/issues/11","id":238030080,"user":{"login":"CptCrispyCrunchy","id":11363229,"avatar_url":"https://avatars.githubusercontent.com/u/11363229?v=3","gravatar_id":"","url":"https://api.github.com/users/CptCrispyCrunchy","html_url":"https://github.com/CptCrispyCrunchy","followers_url":"https://api.github.com/users/CptCrispyCrunchy/followers","following_url":"https://api.github.com/users/CptCrispyCrunchy/following{/other_user}","gists_url":"https://api.github.com/users/CptCrispyCrunchy/gists{/gist_id}","starred_url":"https://api.github.com/users/CptCrispyCrunchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CptCrispyCrunchy/subscriptions","organizations_url":"https://api.github.com/users/CptCrispyCrunchy/orgs","repos_url":"https://api.github.com/users/CptCrispyCrunchy/repos","events_url":"https://api.github.com/users/CptCrispyCrunchy/events{/privacy}","received_events_url":"https://api.github.com/users/CptCrispyCrunchy/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T15:53:03Z","updated_at":"2016-08-06T15:53:03Z","body":"Got it to work on all clients now by syncing the settlement cache. However the solution is not the best atm I guess but as I'm pretty unfamiliar with the net code I'm already content that it works.\r\nThe overlay is added as soon as one enters a city. Ideally it would be added in postBegin(). However, it is hard to guarantee that the settlement cache is already initialized for the client which is also hosting the server -> in sp there would be no overlay.\r\nOne method to address this, though also a bit dirty,  is to check if the client is also a dedicated server and then add the overlay in the `SettlementCachingSystem` and do the rest for the other clients in `DistrictOverlaySystem`. \r\nFar better would be to know an event which gets sent after systems completed the `postBegin()` stuff but I didn't find one."}}
{"actor":{"display_login":"CptCrispyCrunchy"}}