Skip to content

Commit ff4d58e

Browse files
authored
fix delete on vouchers
1 parent a4a033d commit ff4d58e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

items/code.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2091,7 +2091,7 @@ local delete = {
20912091
a = G.shop_vouchers
20922092
c = G.shop_vouchers.highlighted[1]
20932093
if c.shop_voucher then
2094-
G.GAME.current_round.voucher = nil
2094+
G.GAME.current_round.voucher.spawn[c.config.center.key] = nil
20952095
G.GAME.current_round.cry_voucher_edition = nil
20962096
G.GAME.current_round.cry_voucher_stickers =
20972097
{ eternal = false, perishable = false, rental = false, pinned = false, banana = false }

0 commit comments

Comments
 (0)