fix various savedata bugs

This commit is contained in:
wish
2022-10-08 13:59:48 +11:00
parent 4f2a94cc50
commit 6ee9234745
3 changed files with 19 additions and 16 deletions

View File

@@ -63,7 +63,7 @@ func (s *Server) registerDBAccount(username string, password string) error {
INSERT INTO characters (
user_id, is_female, is_new_character, name, unk_desc_string,
hrp, gr, weapon_type, last_login)
VALUES($1, False, True, '', '', 1, 0, 0, $2)`,
VALUES($1, False, True, '', '', 0, 0, 0, $2)`,
id,
uint32(time.Now().Unix()),
)