|
@@ -138,8 +138,9 @@ import Cocoa
|
|
|
set {
|
|
|
_activeVips = newValue
|
|
|
|
|
|
- for vip in _activeVips {
|
|
|
- if vip_levels == "" {
|
|
|
+ for index in 0..<_activeVips.count {
|
|
|
+ let vip = _activeVips[index]
|
|
|
+ if index == 0 {
|
|
|
vip_id = vip.id
|
|
|
vip_userId = vip.userId
|
|
|
vip_status = vip.status
|
|
@@ -181,8 +182,9 @@ import Cocoa
|
|
|
set {
|
|
|
_activeAis = newValue
|
|
|
|
|
|
- for vip in _activeAis {
|
|
|
- if ai_levels == "" {
|
|
|
+ for index in 0..<_activeAis.count {
|
|
|
+ let vip = _activeAis[index]
|
|
|
+ if index == 0 {
|
|
|
ai_id = vip.id
|
|
|
ai_userId = vip.userId
|
|
|
ai_status = vip.status
|