mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-05 13:04:54 +02:00
CRewardableObject: fix onVisited message duplication for Idol of Fortune
This commit is contained in:
parent
cacc811ed8
commit
575a68d78b
@ -683,7 +683,6 @@ void CGBonusingObject::initObj()
|
||||
info[i].message.addTxt(MetaString::ADVOB_TXT, 62);
|
||||
soundID = soundBase::experience;
|
||||
}
|
||||
onVisited.addTxt(MetaString::ADVOB_TXT, 63);
|
||||
info.back().limiter.dayOfWeek = 7;
|
||||
configureBonus(info.back(), Bonus::MORALE, 1, 68); // on last day of week
|
||||
configureBonus(info.back(), Bonus::LUCK, 1, 68);
|
||||
|
Loading…
x
Reference in New Issue
Block a user