Skip to content

Commit

Permalink
Fixed regression where labels reset the indent
Browse files Browse the repository at this point in the history
  • Loading branch information
dekarrin committed May 8, 2018
1 parent 1d68726 commit 285959b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion scrappy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from .compile.analyze import AnalysisCompiler


__version__ = '1.2.0'
__version__ = '1.2.1'


class ArgumentError(ValueError):
Expand Down
1 change: 0 additions & 1 deletion scrappy/compile/renpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ def _compile_SECTION(self, section):
params += ", "
if len(params) > 0:
params = '(' + params[:-2] + ')'
self._reset_indent()
self.add_line('label ' + section['section'][1] + params + ":")
self._inc_indent()

Expand Down

0 comments on commit 285959b

Please sign in to comment.