mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Fix a case with list mode for globals.
This commit is contained in:
parent
beb413420d
commit
609df368f3
1 changed files with 4 additions and 1 deletions
|
@ -72,7 +72,10 @@ class outscript(object):
|
||||||
if value == []:
|
if value == []:
|
||||||
return '[]'
|
return '[]'
|
||||||
if len(value) < 5:
|
if len(value) < 5:
|
||||||
return '[ ' + self.Value2LSL(value[0]) + ' ]'
|
self.listmode = True
|
||||||
|
ret = '[ ' + self.Value2LSL(value[0]) + ' ]'
|
||||||
|
self.listmode = False
|
||||||
|
return ret
|
||||||
ret = '\n'
|
ret = '\n'
|
||||||
first = True
|
first = True
|
||||||
self.indentlevel += 1
|
self.indentlevel += 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue