From ce35879117cd77dcb1276c704662ec42b561616b Mon Sep 17 00:00:00 2001 From: Emik Date: Mon, 20 Jul 2026 22:55:47 +0200 Subject: [PATCH] Ensure Sleeve's apply saves the game nice --- manifest.json | 2 +- src/back.lua | 2 +- src/tag.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 41bdedf..3cf437c 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "Roland", "name": "Roland", "prefix": "Roland", - "version": "2.9.68", + "version": "2.9.69", "badge_colour": "8BE9FD", "display_name": "Roland", "main_file": "src/main.lua", diff --git a/src/back.lua b/src/back.lua index 524e3ca..e225bfb 100644 --- a/src/back.lua +++ b/src/back.lua @@ -40,7 +40,7 @@ local back = (function() return ret end, apply = function(self, ...) - return (tbl.alt_apply and self:is_alt() and tbl.alt_apply or apply)(self, ...) + return save((tbl.alt_apply and self:is_alt() and tbl.alt_apply or apply)(self, ...)) end, calculate = function(self, ...) return (tbl.alt_calculate and self:is_alt() and tbl.alt_calculate or calculate)(self, ...) diff --git a/src/tag.lua b/src/tag.lua index 0122f52..9c90e2c 100644 --- a/src/tag.lua +++ b/src/tag.lua @@ -60,8 +60,8 @@ SMODS.Tag { pos = {x = 0, y = 0}, config = {amount = 5}, loc_vars = function(self, info_queue, tag) - info_queue[#info_queue + 1] = G.P_CENTERS.e_Roland_frozen tag.ability = tag.ability or {} + table.insert(info_queue, G.P_CENTERS.e_Roland_frozen) return {vars = {tag.ability.amount or self.config.amount}} end, apply = function(self, tag, context)