mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-02-22 08:31:30 +08:00
Don't use := false
This commit is contained in:
parent
7bfd9dfba7
commit
805ac408e8
@ -44,7 +44,7 @@ func Get(uuid []byte, datatype, slot int) (any, error) {
|
||||
return nil, fmt.Errorf("failed to fetch compensations: %s", err)
|
||||
}
|
||||
|
||||
needsUpdate := false
|
||||
var needsUpdate bool
|
||||
for compensationType, amount := range compensations {
|
||||
system.VoucherCounts[strconv.Itoa(compensationType)] += amount
|
||||
if amount > 0 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user