Skip to content

Commit

Permalink
Fix spectator crash
Browse files Browse the repository at this point in the history
  • Loading branch information
MangosArentLiterature committed Sep 5, 2022
1 parent bd4fbf8 commit 31d2f8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/athena/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ func (client *Client) CanAlterEvidence() bool {
func (client *Client) ChangeCharacter(id int) {
if client.Area().SwitchChar(client.CharID(), id) {
client.SetCharID(id)
client.SetShowname(characters[id])
client.SetShowname(client.CurrentCharacter())
client.SendPacket("PV", "0", "CID", strconv.Itoa(id))
writeToArea(client.Area(), "CharsCheck", client.Area().Taken()...)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/athena/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import (
"nhooyr.io/websocket"
)

const version = "1.0.1"
const version = "v1.0.2"

var (
config *settings.Config
Expand Down

0 comments on commit 31d2f8a

Please sign in to comment.