diff --git a/game/engines/default/modules/boot/class/Game.lua b/game/engines/default/modules/boot/class/Game.lua index dc506913877459607044dc41bca5c87af91a50cd..ddab9c3b9571ca78e620cf5c2b2121eebe707abc 100644 --- a/game/engines/default/modules/boot/class/Game.lua +++ b/game/engines/default/modules/boot/class/Game.lua @@ -51,7 +51,7 @@ function _M:init() engine.interface.GameSound.init(self) engine.GameEnergyBased.init(self, engine.KeyBind.new(), 100, 100) self.profile_font = core.display.newFont("/data/font/DroidSerif-Italic.ttf", 14) - self.background = core.display.loadImage("/data/gfx/background/tome.png") + self.background = core.display.loadImage("/data/gfx/background/tome3.png") if self.background then self.background_w, self.background_h = self.background:getSize() self.background, self.background_tw, self.background_th = self.background:glTexture() diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua index 304394be663076187b0ebf395e8681f3844ece8b..e0e101eb0ccecd7ddc3c6a42d950f269b4b5bef7 100644 --- a/game/modules/tome/class/Actor.lua +++ b/game/modules/tome/class/Actor.lua @@ -350,6 +350,7 @@ end function _M:actBase() -- Stupid sanity check that is actualy useful if self.life ~= self.life then self.life = self.max_life end + if self.life_regen ~= self.life_regen then self.life_regen = 1 end -- Solipsism speed effects; calculated before the actor gets energy local current_psi_percentage = self:getPsi() / self:getMaxPsi()