No need to start Buildings for reading the custom types

develop
Petr Mrázek 2011-02-25 03:13:50 +01:00
parent 803269122f
commit d6592502cc
1 changed files with 1 additions and 1 deletions

@ -162,7 +162,7 @@ bool Buildings::Finish()
bool Buildings::ReadCustomWorkshopTypes(map <uint32_t, string> & btypes)
{
if(!d->Started)
if(!d->Inited)
return false;
if(!d->hasCustomWorkshops)
return false;