Skip to content

Commit

Permalink
Fix #517
Browse files Browse the repository at this point in the history
  • Loading branch information
GauntletGames-2086 committed Mar 5, 2025
1 parent 4c9438a commit a06138b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/card_draw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ SMODS.DrawStep = SMODS.GameObject:extend {
both = true,
},
-- func = function(card, layer) end,
set = "Draw Step",
register = function(self)
if self.registered then
sendWarnMessage(('Detected duplicate register call on object %s'):format(self.key), self.set)
return
end
SMODS.DrawStep.super.register(self)
end,
inject = function() end,
post_inject_class = function(self)
table.sort(self.obj_buffer, function(_self, _other) return self.obj_table[_self].order < self.obj_table[_other].order end)
Expand Down
2 changes: 1 addition & 1 deletion version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return "1.0.0~BETA-0303a-STEAMODDED"
return "1.0.0~BETA-0304a-STEAMODDED"

0 comments on commit a06138b

Please # to comment.