Merge pull request #555 from Flamanis/StatusbarInit
Set up statusbar options instead of using metatable
This commit is contained in:
@@ -483,7 +483,9 @@
|
||||
|
||||
--options table
|
||||
childTable.options = instance.StatusBar.options[mainObject.real_name]
|
||||
if (not childTable.options) then
|
||||
if (instance.StatusBar.options[mainObject.real_name]) then
|
||||
childTable.options = instance.StatusBar.options[mainObject.real_name]
|
||||
else
|
||||
childTable.options = {
|
||||
textStyle = 2,
|
||||
textColor = {unpack(DEFAULT_CHILD_FONTCOLOR)},
|
||||
|
||||
Reference in New Issue
Block a user