mirror of
https://github.com/ModOrganizer2/modorganizer-basic_games.git
synced 2026-07-27 14:07:29 -07:00
fix: Valheim sync overwrite also run for other games.
This commit is contained in:
@@ -548,6 +548,8 @@ class ValheimGame(BasicGame):
|
||||
self._sync_overwrite()
|
||||
|
||||
def _sync_overwrite(self) -> None:
|
||||
if self._organizer.managedGame() is not self:
|
||||
return
|
||||
if self._organizer.pluginSetting(self.name(), "sync_overwrite") is not False:
|
||||
self._overwrite_sync.search_file_contents = (
|
||||
self._organizer.pluginSetting(
|
||||
|
||||
Reference in New Issue
Block a user