We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4efc67f commit 6ded37eCopy full SHA for 6ded37e
addons/source-python/packages/source-python/core/settings.py
@@ -46,7 +46,8 @@ def load(self):
46
self._check_settings()
47
48
# Add the initial comment
49
- self.initial_comment = ['../' + self.filename.replace(GAME_PATH, '')]
+ self.initial_comment = ['..' +
50
+ self.filename.replace(GAME_PATH, '').replace('\\', '/')]
51
52
# Loop through all sections
53
for section in self:
0 commit comments