added localgame boolean for client side UI to update itself, or to send packets if not local game