Skip to content

Commit 6ded37e

Browse files
author
L'In20Cible
committed
Fixed initial comment of core_settings.ini.
1 parent 4efc67f commit 6ded37e

File tree

1 file changed

+2
-1
lines changed
  • addons/source-python/packages/source-python/core

1 file changed

+2
-1
lines changed

addons/source-python/packages/source-python/core/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ def load(self):
4646
self._check_settings()
4747

4848
# Add the initial comment
49-
self.initial_comment = ['../' + self.filename.replace(GAME_PATH, '')]
49+
self.initial_comment = ['..' +
50+
self.filename.replace(GAME_PATH, '').replace('\\', '/')]
5051

5152
# Loop through all sections
5253
for section in self:

0 commit comments

Comments
 (0)