1
- #macro __LHC_VERSION " v1.2.0 "
1
+ #macro __LHC_VERSION " v1.2.1 "
2
2
#macro __LHC_PREFIX " [Loj Hadron Collider]"
3
3
#macro __LHC_SOURCE " https://github.com/Lojemiru/Loj-Hadron-Collider"
4
4
#macro __LHC_EVENT " __lhc_event_"
@@ -88,7 +88,7 @@ function lhc_create_interface(_name) {
88
88
// /@desc Inherits the function headers of the given interface.
89
89
// /@param interface The name of the interface to inherit from.
90
90
function lhc_inherit_interface (_interface) {
91
- if (!asset_has_tags (object_index, _interface, asset_object)) asset_add_tags (object_index, _interface, asset_object);
91
+ if (!asset_has_any_tag (object_index, _interface, asset_object)) asset_add_tags (object_index, _interface, asset_object);
92
92
93
93
// Loop over global interface struct for name value, set local variables of the index name to an empty function.
94
94
var i = 0 ;
@@ -109,7 +109,7 @@ function lhc_assign_interface(_interface) {
109
109
var i = 1 ;
110
110
repeat (argument_count - 1 ) {
111
111
// Set interface tag.
112
- if (!asset_has_tags (argument[i], _interface, asset_object)) asset_add_tags (argument[i], _interface, asset_object);
112
+ if (!asset_has_any_tag (argument[i], _interface, asset_object)) asset_add_tags (argument[i], _interface, asset_object);
113
113
++i;
114
114
}
115
115
@@ -291,7 +291,7 @@ function __lhc_check(_x, _y) {
291
291
j = 0 ;
292
292
// Scan through Interfaces and run relevant events.
293
293
repeat (__lhc_intLen) {
294
- if (asset_has_tags (col.object_index , __lhc_interfaces[j], asset_object)) {
294
+ if (asset_has_any_tag (col.object_index , __lhc_interfaces[j], asset_object)) {
295
295
variable_instance_get (id, __LHC_EVENT + __lhc_interfaces[j])();
296
296
}
297
297
++j;
0 commit comments