Skip to content

Commit 5f33978

Browse files
committed
remove some redundant stuff
1 parent ec88988 commit 5f33978

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

items/pointer.lua

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ local pointer = {
5757
G.consumeables:emplace(copy)
5858
G.FUNCS.exit_overlay_menu_code()
5959
ccl(self)
60-
if G.GAME.CODE_DESTROY_CARD then
61-
G.GAME.CODE_DESTROY_CARD:start_dissolve()
62-
G.GAME.CODE_DESTROY_CARD = nil
63-
end
6460
elseif self.config.center.set == "Booster" then
6561
G.FUNCS.exit_overlay_menu_code()
6662
local card = copy_card(self)
@@ -70,10 +66,6 @@ local pointer = {
7066
card:start_materialize()
7167
created = true
7268
ccl(self)
73-
if G.GAME.CODE_DESTROY_CARD then
74-
G.GAME.CODE_DESTROY_CARD:start_dissolve()
75-
G.GAME.CODE_DESTROY_CARD = nil
76-
end
7769
elseif
7870
self.config.center.key == "c_base"
7971
or self.config.center.set == "Enhanced"
@@ -125,10 +117,6 @@ local pointer = {
125117
table.insert(G.playing_cards, card)
126118
G.FUNCS.exit_overlay_menu_code()
127119
G.GAME.POINTER_PLAYING = nil
128-
if G.GAME.CODE_DESTROY_CARD then
129-
G.GAME.CODE_DESTROY_CARD:start_dissolve()
130-
G.GAME.CODE_DESTROY_CARD = nil
131-
end
132120
end
133121
else
134122
G.ENTERED_CARD = self.config.center.key

0 commit comments

Comments
 (0)