Compare commits

..

No commits in common. "fadd085e36960d9d2661b0727e88e22a60cf5fa3" and "d108cfd1869f8abeb302c963e2ac05790b6695ad" have entirely different histories.

2 changed files with 14 additions and 16 deletions

View File

@ -2,11 +2,11 @@ set deployDir="..\deploy"
xcopy .\data\* %deployDir%\data\ /s /e /y
for /f "tokens=*" %%a in (shell/programs.txt) do (
for /f "tokens=*" %%a in (programs.txt) do (
xcopy .\%%a\%%a %deployDir% /y
del .\%%a\%%a
)
for /f "tokens=*" %%f in (shell/exclude.txt) do (
for /f "tokens=*" %%f in (exclude.txt) do (
if exist "%deployDir%\data\%%f" (del "%deployDir%\data\%%f")
)

View File

@ -2033,7 +2033,6 @@ func (this *Player) ResetPermit() {
// 清理数据
bag := BagMgrSingleton.GetBagInfo(this.SnId)
if bag != nil {
if bag.BagItem[common.ItemIDPermit] != nil {
BagMgrSingleton.AddItems(&model.AddItemParam{
Platform: this.Platform,
SnId: this.SnId,
@ -2047,7 +2046,6 @@ func (this *Player) ResetPermit() {
Operator: "system",
Remark: "赛季积分清理",
})
}
if model.GameParamData.PermitInitScore > 0 {
bagInfo := BagMgrSingleton.GetBagInfo(this.SnId)