mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Serialize owner for abandoned mine
This commit is contained in:
parent
aa96a53f37
commit
870aeddad5
@ -208,7 +208,7 @@ void CGMine::blockingDialogAnswered(const CGHeroInstance *hero, ui32 answer) con
|
||||
void CGMine::serializeJsonOptions(JsonSerializeFormat & handler)
|
||||
{
|
||||
CArmedInstance::serializeJsonOptions(handler);
|
||||
|
||||
serializeJsonOwner(handler);
|
||||
if(isAbandoned())
|
||||
{
|
||||
if(handler.saving)
|
||||
@ -239,10 +239,6 @@ void CGMine::serializeJsonOptions(JsonSerializeFormat & handler)
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
serializeJsonOwner(handler);
|
||||
}
|
||||
}
|
||||
|
||||
GameResID CGResource::resourceID() const
|
||||
|
Loading…
Reference in New Issue
Block a user