Skip to content

Commit

Permalink
Remove unnecessary macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
player-03 committed Oct 8, 2024
1 parent f2b62e9 commit 56da0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/echoes/View.hx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class DynamicView extends ViewBase {
//If the callback removed the entity, stop. Cache the index to save
//time in most cases. HashLink is known to return 0 when reading out
//of bounds, so it has to check length too.
if(#if hl macro index >= entities.length || #end entities[index] != entity) {
if(#if hl index >= entities.length || #end entities[index] != entity) {
index = entities.lastIndexOf(entity);
if(index < 0) {
break;
Expand Down

0 comments on commit 56da0b3

Please sign in to comment.