2
0
Эх сурвалжийг харах

Limit showing empty message instantly to creature banks and dragon utopia

Dydzio 1 жил өмнө
parent
commit
98375cc627

+ 1 - 1
lib/mapObjects/CBank.cpp

@@ -141,7 +141,7 @@ void CBank::onHeroVisit(const CGHeroInstance * h) const
 	ChangeObjectVisitors cov(ChangeObjectVisitors::VISITOR_ADD_TEAM, id, h->id);
 	cb->sendAndApply(&cov);
 
-	if(!bankConfig)
+	if(!bankConfig && (ID.toEnum() == Obj::CREATURE_BANK || ID.toEnum() == Obj::DRAGON_UTOPIA))
 	{
 		blockingDialogAnswered(h, 1);
 		return;