mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2390bfe8ac | ||
|
|
7398bab9ea |
@@ -36,7 +36,7 @@ local os = os;
|
||||
local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
this.version = "2.7";
|
||||
this.version = "2.7.1";
|
||||
|
||||
this.config_folder = "MHR Overlay\\configs\\";
|
||||
this.current_config_value_file_name = "MHR Overlay\\config.json";
|
||||
|
||||
@@ -205,7 +205,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
||||
if infinite_buffs_location == "First" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.timer < right.timer;
|
||||
return left.name < right.name;
|
||||
elseif left.is_infinite then
|
||||
return true;
|
||||
elseif right.is_infinite then
|
||||
@@ -217,7 +217,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
||||
elseif infinite_buffs_location == "Last" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.timer < right.timer;
|
||||
return left.name < right.name;
|
||||
elseif left.is_infinite then
|
||||
return false;
|
||||
elseif right.is_infinite then
|
||||
@@ -236,7 +236,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
||||
if infinite_buffs_location == "First" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.timer > right.timer;
|
||||
return left.name > right.name;
|
||||
elseif left.is_infinite then
|
||||
return false;
|
||||
elseif right.is_infinite then
|
||||
@@ -248,7 +248,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
||||
elseif infinite_buffs_location == "Last" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.timer > right.timer;
|
||||
return left.name > right.name;
|
||||
elseif left.is_infinite then
|
||||
return true;
|
||||
elseif right.is_infinite then
|
||||
@@ -269,7 +269,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
||||
if infinite_buffs_location == "First" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.duration < right.duration;
|
||||
return left.name < right.name;
|
||||
elseif left.is_infinite then
|
||||
return true;
|
||||
elseif right.is_infinite then
|
||||
@@ -281,7 +281,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
||||
elseif infinite_buffs_location == "Last" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.duration < right.duration;
|
||||
return left.name < right.name;
|
||||
elseif left.is_infinite then
|
||||
return false;
|
||||
elseif right.is_infinite then
|
||||
@@ -300,7 +300,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
||||
if infinite_buffs_location == "First" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.duration > right.duration;
|
||||
return left.name > right.name;
|
||||
elseif left.is_infinite then
|
||||
return false;
|
||||
elseif right.is_infinite then
|
||||
@@ -312,7 +312,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
||||
elseif infinite_buffs_location == "Last" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.duration > right.duration;
|
||||
return left.name > right.name;
|
||||
elseif left.is_infinite then
|
||||
return true;
|
||||
elseif right.is_infinite then
|
||||
|
||||
Reference in New Issue
Block a user