small hotfix
This commit is contained in:
parent
2533e1a8e9
commit
be3bc5cbd0
@ -33,7 +33,7 @@ void Main() {
|
|||||||
RefreshBlocks();
|
RefreshBlocks();
|
||||||
RefreshItems();
|
RefreshItems();
|
||||||
sortableobjects = objects;
|
sortableobjects = objects;
|
||||||
sortableobjects.Sort(function(a,b) { return a.size > b.size; }); // Sort by size by default, it will be used as second sort criteria
|
if (sortableobjects.Length > 0) sortableobjects.Sort(function(a,b) { return a.size > b.size; }); // Sort by size by default, it will be used as second sort criteria
|
||||||
refreshobject = false;
|
refreshobject = false;
|
||||||
}
|
}
|
||||||
yield();
|
yield();
|
||||||
|
@ -3,5 +3,5 @@ name = "Blocks & Items Counter"
|
|||||||
author = "Beu"
|
author = "Beu"
|
||||||
category = "Map Editor"
|
category = "Map Editor"
|
||||||
siteid = 97
|
siteid = 97
|
||||||
version = "1.4"
|
version = "1.5"
|
||||||
blocks = [ "Plugin_Blocks&ItemsCounter" ]
|
blocks = [ "Plugin_Blocks&ItemsCounter" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user