Plugin work

This commit is contained in:
2020-08-23 04:21:50 -04:00
parent 257fb07e94
commit 149555fb02
2 changed files with 11 additions and 3 deletions

View File

@ -80,6 +80,8 @@ func LoadPlayer(ctx context.Context, nk runtime.NakamaModule, presence runtime.P
}
player.Name = responseData.Name
player.Faction = gameworld.Faction(responseData.Faction)
player.X = 16.0
player.Y = 16.0
}
}
return player, nil