Use the common configured load order where applicable.
This commit is contained in:
parent
c4e360378f
commit
2d2a5c3ea4
2 changed files with 2 additions and 12 deletions
|
|
@ -12,12 +12,7 @@ class Extract(dcc.doom_base.Wad):
|
|||
return parser
|
||||
|
||||
def take_action(self, parsed_args):
|
||||
wads = sorted(
|
||||
self.pwads.joinpath(self.wad).glob('*.wad', case_sensitive=False),
|
||||
reverse=True
|
||||
)
|
||||
|
||||
for w in wads:
|
||||
for w in self.load_order()
|
||||
try:
|
||||
# TODO: handle anything other than graphics.
|
||||
wad = omg.WadIO(w)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue