mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- changed the custom bar creation code to name each bar as the highest-numbered bar +1. e.g. if a bar "MyCustomBar4" exists and the user creates a new bar, the new bar will be called MyCustomBar5 (even if 1-3 don't exist any more, just to avoid complications). This way, each custom bar gets a unique name and users can't stomp an old custom bar by creating a new one without changing the old one's name first
This commit is contained in:
@ -600,7 +600,7 @@ StaticPopupDialogs["ICEHUD_RESET"] =
|
||||
|
||||
StaticPopupDialogs["ICEHUD_CUSTOM_BAR_CREATED"] =
|
||||
{
|
||||
text = "A custom bar has been created and can be configured through Module Settings => MyCustomBar. It is highly recommended that you change the bar name of this module ASAP because creating two custom bars with the same name is bad.",
|
||||
text = "A custom bar has been created and can be configured through Module Settings => MyCustomBar. It is highly recommended that you change the bar name of this module so that it's easier to identify.",
|
||||
button1 = OKAY,
|
||||
timeout = 0,
|
||||
whileDead = 1,
|
||||
|
Reference in New Issue
Block a user