From 75e7a3c79821e953b20da31e65c4bf1291522e79 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Sun, 10 Nov 2019 15:53:09 +0100
Subject: [PATCH] plop

---
 game/modules/tome/class/Player.lua              | 2 +-
 game/modules/tome/data/talents/spells/earth.lua | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/game/modules/tome/class/Player.lua b/game/modules/tome/class/Player.lua
index 2a3f0af184..12f3638e09 100644
--- a/game/modules/tome/class/Player.lua
+++ b/game/modules/tome/class/Player.lua
@@ -380,7 +380,7 @@ function _M:act()
 	-- Funky shader things !
 	self:updateMainShader()
 
-	if config.settings.tome.life_lost_warning then
+	if config.settings.tome.life_lost_warning and self.shader_old_life then
 		local perc = (self.shader_old_life - self.life) / self.max_life
 		if perc > (config.settings.tome.life_lost_warning / 100) then
 			game.bignews:say(100, "#LIGHT_RED#LIFE LOST WARNING!")
diff --git a/game/modules/tome/data/talents/spells/earth.lua b/game/modules/tome/data/talents/spells/earth.lua
index 3e1e02f398..dd837c2ab3 100644
--- a/game/modules/tome/data/talents/spells/earth.lua
+++ b/game/modules/tome/data/talents/spells/earth.lua
@@ -207,7 +207,7 @@ newTalent{
 
 				local e = Object.new{
 					old_feat = oe,
-					name = "stone wall", image = "terrain/granite_wall1.png",
+					name = "stone wall", image = "terrain/marble_floor.png", add_mos={{image="terrain/spell_stonewall_0"..rng.range(1,3)..".png"}},
 					display = '#', color_r=255, color_g=255, color_b=255, back_color=colors.GREY,
 					desc = "a summoned wall of stone",
 					type = "wall", --subtype = "floor",
-- 
GitLab