Skip to content

Commit

Permalink
Merge f9e37ca into a0c4288
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoshinonyaruko authored Apr 7, 2024
2 parents a0c4288 + f9e37ca commit cab0f6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,10 @@ func AutoConfigurePaths(config *Config) error {
status.SetsuccessReadGameWorldSettings(false)
} else {
config.WorldSettings = gameworldsettings
if config.WorldSettings.AdminPassword == "" {
config.WorldSettings.AdminPassword = "12345"
log.Println("设置默认登入密码为12345,为了你的服务器安全,请一定在管理面板的rcon密码处修改为其他密码.")
}
log.Println("从游戏parworldsetting.ini解析配置成功.")
log.Printf("从游戏parworldsetting.ini解析配置成功.%v", config.WorldSettings)
status.SetsuccessReadGameWorldSettings(true)
Expand Down

0 comments on commit cab0f6e

Please sign in to comment.