estate: Actually store the estateId on the account. (rip db with blank estates...

This commit is contained in:
Harvir 2014-08-12 09:14:39 +01:00
parent 2dcac235fd
commit c430499c28

View file

@ -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):