[core] Remove unnecessary OVT path adjustments

Not only does this not work (path.join() will not
actually add Z: on non-Windows), it's also not necessary.

Confirmed to work with Detroit: Become Human (Demo) and
Just Cause 4.
This commit is contained in:
derrod 2020-04-29 15:16:17 +02:00
parent 63ff306fbf
commit 209ba2dd81

View file

@ -247,9 +247,6 @@ class LegendaryCore:
f'{game.asset_info.namespace}{game.asset_info.catalog_item_id}.ovt')
with open(ovt_path, 'wb') as f:
f.write(ovt)
# To access the OVT from WINE we have have to prepend Z: to the path
if os.name != 'nt':
ovt_path = os.path.join('Z:', ovt_path)
params.append(f'-epicovt={ovt_path}')
params.extend([