summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/network_admin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/network_admin.cpp b/src/network/network_admin.cpp
index 0c060b755..0327bf366 100644
--- a/src/network/network_admin.cpp
+++ b/src/network/network_admin.cpp
@@ -336,6 +336,11 @@ NetworkRecvStatus ServerNetworkAdminSocketHandler::SendCompanyInfo(const Company
p->Send_bool (NetworkCompanyIsPassworded(c->index));
p->Send_uint32(c->inaugurated_year);
p->Send_bool (c->is_ai);
+ p->Send_uint8 (CeilDiv(c->months_of_bankruptcy, 3)); // send as quarters_of_bankruptcy
+
+ for (size_t i = 0; i < lengthof(c->share_owners); i++) {
+ p->Send_uint8(c->share_owners[i]);
+ }
this->SendPacket(p);