Skip to content

Commit 21950f3

Browse files
committed
player/player.go: Fixed uncommitted refactor.
1 parent 0427b84 commit 21950f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/player/player.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2859,7 +2859,7 @@ func (p *Player) quit(msg string) {
28592859
// Only remove the player from the world if it's not attached to a session. If it is attached to a session, the
28602860
// session will remove the player once ready.
28612861
p.tx.RemoveEntity(p)
2862-
p.handle.Close(p.tx)
2862+
_ = p.handle.Close()
28632863
}
28642864

28652865
// Data returns the player data that needs to be saved. This is used when the player

0 commit comments

Comments
 (0)