Browse Source

Fixed style writing bug

Mark Mine 23 years ago
parent
commit
083ae49ef0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/leveleditor/LevelEditor.py

+ 1 - 1
direct/src/leveleditor/LevelEditor.py

@@ -4441,7 +4441,7 @@ class DNAWallStyle:
             file.write('window_count: %s\n' % self['window_count'])
             file.write('window_count: %s\n' % self['window_count'])
         if self['window_awning_texture']:
         if self['window_awning_texture']:
             writeAttributes(file, 'window_awning')
             writeAttributes(file, 'window_awning')
-        if self['door_single_texture']:
+        if self['door_texture']:
             writeAttributes(file, 'door')
             writeAttributes(file, 'door')
         if self['door_awning_texture']:
         if self['door_awning_texture']:
             writeAttributes(file, 'door_awning')
             writeAttributes(file, 'door_awning')