aboutsummaryrefslogtreecommitdiff
path: root/internal/game/core_equip.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/core_equip.go')
-rw-r--r--internal/game/core_equip.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/core_equip.go b/internal/game/core_equip.go
index a297466..7a1c1bc 100644
--- a/internal/game/core_equip.go
+++ b/internal/game/core_equip.go
@@ -33,7 +33,7 @@ func (g *Game) playerEquipBonuses(p *player.Player) item.ItemStats {
func (g *Game) playerWeaponSpeed(p *player.Player) float64 {
if itemID, ok := p.Equipment[item.SlotMainHand]; ok {
def, err := g.ItemStore.Load(itemID)
- if err == nil && def.Speed()> 0 {
+ if err == nil && def.Speed() > 0 {
return def.Speed()
}
}