Commit fa380cf4c4cf5e996c97c22942dad2cb55bde0c2

Authored by 陆恒
1 parent ea0753ed
Exists in master

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/HttpServer/jsonconf/jsonconf.go
@@ -321,7 +321,7 @@ func LoadJsonConf() error { @@ -321,7 +321,7 @@ func LoadJsonConf() error {
321 321
322 func GetGunBigBonusCfg(id int) *GunBigBounceConfigDesc { 322 func GetGunBigBonusCfg(id int) *GunBigBounceConfigDesc {
323 for _, v := range g_jsonconf.GunBigBounceConfig { 323 for _, v := range g_jsonconf.GunBigBounceConfig {
324 - if v.Id == id { 324 + if v.Gun_level == id {
325 return &v 325 return &v
326 } 326 }
327 } 327 }