Skip to content

Commit ce1126d

Browse files
committed
2 parents ab0cd82 + eff8b7e commit ce1126d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/overrides.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,7 +1909,7 @@ function create_UIBox_notify_alert(_achievement, _type)
19091909
end
19101910

19111911
if SMODS.Achievements[_achievement] then _c = SMODS.Achievements[_achievement]; _atlas = SMODS.get_atlas(_c.atlas) end
1912-
local t_s = SMODS.create_sprite(0,0,1.5*(_atlas.px/_atlas.py),1.5, _atlas.key, _c and _c.pos or {x=3, y=0})
1912+
local t_s = SMODS.create_sprite(0,0,1.5*(_atlas.px/_atlas.py),1.5, _atlas.key or _atlas.name, _c and _c.pos or {x=3, y=0})
19131913

19141914
t_s.states.drag.can = false
19151915
t_s.states.hover.can = false
@@ -2612,4 +2612,4 @@ function add_tag(_tag)
26122612
_tag = Tag(_tag.key, nil, _tag.blind_type)
26132613
end
26142614
add_tag_ref(_tag)
2615-
end
2615+
end

0 commit comments

Comments
 (0)