estates: Potential fix for Issue #161

This commit is contained in:
Anthony Castelli 2014-08-29 19:01:16 -07:00
parent c4b994a947
commit 441b1d71e3

View file

@ -338,7 +338,8 @@ class DistributedFurnitureManagerAI(DistributedObjectAI):
def deleteWallpaperFromAttic(self, blob, index):
wallpaper = self.getAtticFurniture(blob, index)
self.atticWallpaper.remove(wallpaper)
if wallpaper in self.atticWallpaper:
self.atticWallpaper.remove(wallpaper)
self.b_setAtticWallpaper(self.getAtticWallpaper())
def moveWindowToAttic(self, slot):