From 9fa18c564b2274a002cf8f8ed945853f190245d8 Mon Sep 17 00:00:00 2001
From: OgelGames <olliverdc28@gmail.com>
Date: Mon, 28 Dec 2020 21:30:24 +1100
Subject: [PATCH] Add hidden background texture (#35)

* Add hidden background texture

* Remove old texture
---
 init.lua                    |   2 ++
 textures/stamina_hud_bg.png | Bin 417 -> 81 bytes
 2 files changed, 2 insertions(+)

diff --git a/init.lua b/init.lua
index 0fd4569..6e07679 100644
--- a/init.lua
+++ b/init.lua
@@ -516,6 +516,8 @@ minetest.register_on_joinplayer(function(player)
 		size = {x = 24, y = 24},
 		text = "stamina_hud_fg.png",
 		number = level,
+		text2 = "stamina_hud_bg.png",
+		item = settings.visual_max,
 		alignment = {x = -1, y = -1},
 		offset = {x = -266, y = -110},
 		max = 0,
diff --git a/textures/stamina_hud_bg.png b/textures/stamina_hud_bg.png
index 07e21e7be47ebfe19f972382f6ea5a086a33cbfc..837f91bb59bb5215e2539ade9a929cdbfe447387 100644
GIT binary patch
literal 81
zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@GyZm#X;^)4C~IxyaaN%JzX3_IA$g%
aBmg<g42%nwExrO|F?hQAxvX<aXaWEoUl2b4

literal 417
zcmV;S0bc%zP)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV00009a7bBm000id
z000id0mpBsWB>pGQ%OWYRCt`Nlf7=jFcd~Z)s4q-V#j}S9N(Bo9uNaUNQ_8GOc{AB
z-maBG`8vgdma0<eaJK7nKVM%L0E%aL>hS*v&hyhZwANsZfiVWoIXLI2s_N})-8TUd
zjUfaO5kd%1O2HU|rfFcUg;ENPvG<1pBD&Od4Jjq8wTLldwOXO?dsu5Bgg{xAQ?fA&
z_WS*8yWNh)7?foR&N<q)#d5g>5y3eJB7(IRbzSGHX|2bcfQT;6IdIP5z0X~xln_Ed
zN(t{hy!V*u7-N@P!PPkj=Nw{;xm#6LIh9fhA%u(&0=I$>BFd4Sb1=q0YmKI9Af<#c
z2Gf8i02IYA470=GaOt`(Prq&3%x%}(!$fqwdxhO@hZrMbjOe-!lkg`V?!kF}D%R^Y
zQc6fEVX;^s#)y;>Hk%FlzQ@Bw8iwKJ(MJBpU4rBB`1&Wov!Ce`d<6U`HGiA|00000
LNkvXXu0mjf5NEV}