global variable for defining construction distance limit. value smaller 1 means no limit (wip)
Restore player clan on rejoin (
issue #934, not tested)
just some indentation tweaks to help me read this while looking for possible causes of the iOS crasher