Skip to content

Commit

Permalink
Merge pull request #17 from frozenstranger/master
Browse files Browse the repository at this point in the history
leveleditor: Fix a crash when cancelling out window count changes.
  • Loading branch information
drewc5131 committed Nov 16, 2020
2 parents 46cce5b + 2d1d6e7 commit 937eac3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toontown/leveleditor/LevelEditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,6 +1819,7 @@ def removeDoor(self, door, parent):

def removeWindows(self, windows, parent):
# And record number of windows
self.setCurrent('window_texture', windows.getCode())
self.setCurrent('window_color', windows.getColor())
self.setCurrent('window_count', windows.getWindowCount())
DNARemoveChildOfClass(parent, DNA_WINDOWS)
Expand Down

0 comments on commit 937eac3

Please sign in to comment.