Skip to content

Commit

Permalink
Update entity.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Mar 14, 2024
1 parent 73e37cf commit b3d7542
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/ldgen/ldgen/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ def get_objects(self, archive):

def _match_obj(self, archive, obj):
objs = self.get_objects(archive)
match_objs = (fnmatch.filter(objs, obj + '.o')
match_objs = (fnmatch.filter(objs, obj + '.*.o')
+ fnmatch.filter(objs, obj + '.o')
+ fnmatch.filter(objs, obj + '.*.obj')
+ fnmatch.filter(objs, obj + '.obj'))

Expand Down

0 comments on commit b3d7542

Please sign in to comment.