Skip to content

Commit

Permalink
fix: new world config
Browse files Browse the repository at this point in the history
  • Loading branch information
smsunarto committed Sep 4, 2023
1 parent 29b1759 commit 10e5be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardinal/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func GetConfig() Config {

func NewWorld(cfg Config) *ecs.World {
if cfg.Mode == "normal" {
utils.NewWorld(cfg.RedisAddr, cfg.RedisPass)
return utils.NewWorld(cfg.RedisAddr, cfg.RedisPass)
}
return utils.NewEmbeddedWorld()
}

0 comments on commit 10e5be5

Please sign in to comment.