获奖记录修改

This commit is contained in:
by 2024-07-31 09:42:41 +08:00
parent 195ce9ff69
commit 1136da298c
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ func (this *AwardLogManager) ModuleName() string {
func (this *AwardLogManager) GetAwardLog(plt string, typeId int32) map[int32]int64 { func (this *AwardLogManager) GetAwardLog(plt string, typeId int32) map[int32]int64 {
d := PlatformMgrSingleton.GetConfig(plt).AwardItem d := PlatformMgrSingleton.GetConfig(plt).AwardItem
ret := make(map[int32]int64) ret := make(map[int32]int64)
if d.AwardMap[typeId] != nil { if d.AwardMap != nil && d.AwardMap[typeId] != nil {
ret = d.AwardMap[typeId] ret = d.AwardMap[typeId]
} }
return ret return ret