void CRebuyManagement::TryToRebuy() { write_log(preferences.debug_rebuy(), "[CRebuyManagement] TryToRebuy()\n"); if (RebuyPossible()) { RebuyLastTime = CurrentTime; PreviousRebuyHandNumber = p_handreset_detector->GetHandNumber(); ExecuteRebuyScript(); } }
bool CRebuyManagement::TryToRebuy() { write_log(Preferences()->debug_rebuy(), "[CRebuyManagement] TryToRebuy()\n"); if (RebuyPossible()) { RebuyLastTime = CurrentTime; PreviousRebuyHandNumber = p_handreset_detector->GetHandNumber(); ExecuteRebuyScript(); return true; } return false; }