strip out MS-DOS linefeeds
This commit is contained in:
parent
d78f7097a8
commit
7659b3f63b
|
|
@ -194,6 +194,7 @@ class ParticleEffect(NodePath):
|
|||
|
||||
def loadConfig(self, filename):
|
||||
data = vfs.readFile(filename, 1)
|
||||
data = data.replace('\r', '')
|
||||
try:
|
||||
exec data
|
||||
except:
|
||||
|
|
|
|||
Loading…
Reference in New Issue