fixed default page
This commit is contained in:
parent
af63c975c7
commit
dd01c70230
|
@ -340,7 +340,7 @@ void LolAutoAccept::phase(const ownactions_t& ownactions, ClientAPI::ChampSelect
|
|||
}
|
||||
}
|
||||
|
||||
if(it.championID != (int32_t) champid || !it.completed) {
|
||||
if((it.championID != (int32_t) champid || !it.completed) && champid != 0) {
|
||||
// try to prepick a champion
|
||||
Log::info << "try to pick champ: " << champid;
|
||||
|
||||
|
@ -415,7 +415,7 @@ void LolAutoAccept::champSelect() {
|
|||
}
|
||||
|
||||
// reload config based on position if changed
|
||||
if(pos != currentPosition) {
|
||||
if(pos != currentPosition || !currentPositionSet) {
|
||||
Log::note << "LolAutoAccept reloading config for position: " << pos << " because it was: " << currentPosition;
|
||||
loadPosition(pos);
|
||||
if(onPoschange) {
|
||||
|
|
Loading…
Reference in New Issue