Skip to content

Commit

Permalink
player/hunger.go: code cleanup #2
Browse files Browse the repository at this point in the history
Co-authored-by: jack <[email protected]>
  • Loading branch information
aabstractt and didntpot authored Jul 25, 2024
1 parent 40878af commit abe5327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/player/hunger.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (m *hungerManager) Reset() {
m.mu.Unlock()
}

// ResetExhaustion resets the exhaustion level of the player to 0.
// ResetExhaustion resets the player's exhaustion level to 0.
// Prevents the player's food level from decreasing after preventing food loss.
func (m *hungerManager) resetExhaustion() {
m.mu.Lock()
Expand Down

0 comments on commit abe5327

Please sign in to comment.