Skip to content

Commit 9338497

Browse files
committed
fix sfx
1 parent 64ccc1d commit 9338497

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

talisman.lua

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
if SMODS and SMODS.Mods and not (SMODS.Mods.Talisman or SMODS.Mods.cdataman or {}).can_load then
2-
local smods_xchips = false
3-
for _, v in pairs(SMODS.scoring_parameter_keys) do
4-
if v == "x_chips" then
5-
smods_xchips = true
6-
break
7-
end
8-
end
1+
if SMODS then
92
SMODS.Sound({
103
key = "emult",
114
path = "ExponentialMult.wav",
@@ -18,6 +11,16 @@ if SMODS and SMODS.Mods and not (SMODS.Mods.Talisman or SMODS.Mods.cdataman or {
1811
key = "xchip",
1912
path = "MultiplicativeChips.wav",
2013
})
14+
end
15+
16+
if SMODS and SMODS.Mods and not (SMODS.Mods.Talisman or SMODS.Mods.cdataman or {}).can_load then
17+
local smods_xchips = false
18+
for _, v in pairs(SMODS.scoring_parameter_keys) do
19+
if v == "x_chips" then
20+
smods_xchips = true
21+
break
22+
end
23+
end
2124
local scie = SMODS.calculate_individual_effect
2225
function SMODS.calculate_individual_effect(effect, scored_card, key, amount, from_edition)
2326
local ret = scie(effect, scored_card, key, amount, from_edition)

0 commit comments

Comments
 (0)