From b3d7542e7f9019dec596addbf1c3fdd7b2e7f3be Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 14 Mar 2024 12:14:37 +0100 Subject: [PATCH] Update entity.py --- tools/ldgen/ldgen/entity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ldgen/ldgen/entity.py b/tools/ldgen/ldgen/entity.py index aecdcab91b97..659898f37008 100644 --- a/tools/ldgen/ldgen/entity.py +++ b/tools/ldgen/ldgen/entity.py @@ -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'))