- [Add node] Alias now have lower priority when searching.

This commit is contained in:
Tanasart 2024-07-26 10:06:42 +07:00
parent c5aebfd1ee
commit 3076b9dfcf
2 changed files with 5 additions and 4 deletions

View file

@ -777,8 +777,9 @@ event_inherited();
var match = string_partial_match(string_lower(_node.getName()), search_lower);
var param = "";
for( var k = 0; k < array_length(_node.tags); k++ ) {
var mat = string_partial_match(_node.tags[k], search_lower);
var mat = string_partial_match(_node.tags[k], search_lower) - 10;
if(mat > match) {
match = mat;
param = _node.tags[k];

View file

@ -36,10 +36,10 @@
globalvar VERSION, SAVE_VERSION, VERSION_STRING, BUILD_NUMBER, LATEST_VERSION;
LATEST_VERSION = 11700;
VERSION = 11770;
VERSION = 11780;
SAVE_VERSION = 11700;
VERSION_STRING = "1.17.8";
BUILD_NUMBER = 11770;
VERSION_STRING = "1.17.9.001";
BUILD_NUMBER = 11780;
globalvar HOTKEYS, HOTKEY_CONTEXT;
HOTKEYS = ds_map_create();