Skip to content

Commit

Permalink
Updated Skyrim plugin
Browse files Browse the repository at this point in the history
Fixed a typo that caused the plugin to crash since there would be an
attempt to access a non-existent attribute of an exception.
  • Loading branch information
Kapiainen committed Dec 11, 2016
1 parent 1883c84 commit 4aa43a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ Single file build system and a batch build variant.
- SKSE mod event names

## **Changelog**
**Version 2.6.6 - 2016/12/11**
- **Skyrim**
- Fixed a typo that caused the plugin to crash under certain circumstances.

**Version 2.6.5 - 2016/12/10:**

- **Skyrim**
Expand Down
4 changes: 2 additions & 2 deletions Source/Modules/Skyrim/Plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,9 +603,9 @@ def Completions(self, view, prefix, locations):
return completions
except Linter.ExpectedKeywordError as f:
# Mandatory property flags when initializing a property with a literal
if syn.KW_AUTO in e.keywords:
if syn.KW_AUTO in f.keywords:
completions.append(("auto\tkeyword", "Auto",))
if syn.KW_AUTOREADONLY in e.keywords:
if syn.KW_AUTOREADONLY in f.keywords:
completions.append(("autoreadonly\tkeyword", "AutoReadOnly",))
return completions
except Linter.ExpectedLiteralError as f:
Expand Down

0 comments on commit 4aa43a7

Please sign in to comment.