update kingdom

This commit is contained in:
notify 2023-03-19 00:15:12 +08:00
parent fcddd36a6d
commit 496598623d
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ function ServerPlayer:marshal(player)
room:notifyProperty(player, self, "gender") room:notifyProperty(player, self, "gender")
if self.kingdom ~= Fk.generals[self.general].kingdom then if self.kingdom ~= Fk.generals[self.general].kingdom then
self.kingdom = Fk.generals[self.general].kingdom
room:notifyProperty(player, self, "kingdom") room:notifyProperty(player, self, "kingdom")
end end