Small server refactor and rename
This commit is contained in:
parent
da9d71bcc0
commit
6f248f1bd2
2 changed files with 7 additions and 14 deletions
|
@ -176,7 +176,7 @@ func HandleSpawn(s *Server, b io.ReadCloser, w io.Writer) error {
|
|||
fmt.Printf("\tspawn data: %v\n", data)
|
||||
|
||||
// Create a new instance
|
||||
if pos, _, err := s.SpawnPrimary(id); err != nil {
|
||||
if pos, _, err := s.SpawnPrimaryForAccount(id); err != nil {
|
||||
response.Error = err.Error()
|
||||
} else {
|
||||
response.Success = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue