estate: Actually store the estateId on the account. (rip db with blank estates...
This commit is contained in:
parent
2dcac235fd
commit
c430499c28
1 changed files with 9 additions and 0 deletions
|
@ -187,6 +187,15 @@ class LoadEstateFSM(FSM):
|
|||
if self.state != 'CreateEstate':
|
||||
return # We must have aborted or something...
|
||||
self.estateId = estateId
|
||||
|
||||
# Update our account so we can store this new estate object.
|
||||
self.mgr.air.dbInterface.updateObject(
|
||||
self.mgr.air.dbId,
|
||||
self.accountId,
|
||||
self.mgr.air.dclassesByName['AccountAI'],
|
||||
{ 'ESTATE_ID': estateId }
|
||||
)
|
||||
|
||||
self.demand('LoadEstate')
|
||||
|
||||
def enterLoadEstate(self):
|
||||
|
|
Loading…
Reference in a new issue