update kingdom
This commit is contained in:
parent
fcddd36a6d
commit
496598623d
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue