5 Commits

Author SHA1 Message Date
9a8a3f0f8c Version 2.2.1 2020-03-13 07:55:01 +01:00
2eb2df946b Add nil check in hb.change_hudbar 2020-03-13 07:53:24 +01:00
2ffcd94dd6 Version 2.2.0 2020-02-04 22:11:43 +01:00
8d3fa950f8 Update translation credits 2020-02-04 22:10:41 +01:00
332aa18452 Add Spanish translation 2020-02-04 22:07:34 +01:00
3 changed files with 9 additions and 1 deletions

View File

@ -11,7 +11,7 @@ this mod will place them accordingly.
position should be displayed correctly on every screen size. position should be displayed correctly on every screen size.
## Current version ## Current version
The current version is 2.1.0. The current version is 2.2.1.
This software uses [semantic versioning](http://semver.org), as defined by version 2.0.0 of the SemVer This software uses [semantic versioning](http://semver.org), as defined by version 2.0.0 of the SemVer
standard. standard.
@ -39,6 +39,7 @@ Translations:
* Italian: Hamlet * Italian: Hamlet
* Malay: muhdnurhidayat * Malay: muhdnurhidayat
* Russian: Imk * Russian: Imk
* Spanish: wuniversales
This program is free software. It comes without any warranty, to This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it the extent permitted by applicable law. You can redistribute it

View File

@ -315,6 +315,9 @@ function hb.change_hudbar(player, identifier, new_value, new_max_value, new_icon
end end
local name = player:get_player_name() local name = player:get_player_name()
if not hudtable.hudstate[name] then
return false
end
local hudtable = hb.get_hudtable(identifier) local hudtable = hb.get_hudtable(identifier)
local value_changed, max_changed = false, false local value_changed, max_changed = false, false

4
locale/hudbars.es.tr Normal file
View File

@ -0,0 +1,4 @@
# textdomain: hudbars
Health=Salud
Breath=Aliento
@1: @2/@3=@1: @2/@3