1
This commit is contained in:
parent
c6b602ebf2
commit
1f2a0c1549
@ -1238,7 +1238,7 @@ class TameBattleDataService extends BaseService {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (myself()->_getDaySeconds($hisBattleData['data']['modifytime']) <
|
if (myself()->_getDaySeconds($hisBattleData['data']['modifytime']) <
|
||||||
myself()->_getDaySeconds($currentPeriod['obtain_end_time'])) {
|
myself()->_getDaySeconds(strtotime($currentPeriod['obtain_end_time']) )) {
|
||||||
$hisBattleData['data'] = array(
|
$hisBattleData['data'] = array(
|
||||||
'pvpData' => array(),
|
'pvpData' => array(),
|
||||||
'mobaData' => array(),
|
'mobaData' => array(),
|
||||||
@ -1246,7 +1246,7 @@ class TameBattleDataService extends BaseService {
|
|||||||
'modifytime' => myself()->_getNowTime()
|
'modifytime' => myself()->_getNowTime()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if ($currentPeriod && $currentPeriod['obtain_end_time'] > myself()->_getNowTime()){
|
if ($currentPeriod && strtotime($currentPeriod['obtain_end_time']) > myself()->_getNowTime()){
|
||||||
switch (getXVal($this->allInfo,'room_mode', 0)){
|
switch (getXVal($this->allInfo,'room_mode', 0)){
|
||||||
case self::MATCH_MODE_PVP :{
|
case self::MATCH_MODE_PVP :{
|
||||||
$this->applyEx($hisBattleData['data']['pvpData']);
|
$this->applyEx($hisBattleData['data']['pvpData']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user