forked from SilverStudioGames/WTS
Bug fix
* Fixed clothing blacklists affecting all multislots instead of the specified multislot
This commit is contained in:
parent
01be33b5ee
commit
ece2690030
@ -247,7 +247,7 @@ init python:
|
|||||||
|
|
||||||
if slot in self.multislots:
|
if slot in self.multislots:
|
||||||
for k, v in self.states.items():
|
for k, v in self.states.items():
|
||||||
if any((x in k) for x in self.multislots):
|
if v[0] and v[0].type == slot:
|
||||||
v[0], v[2] = None, True
|
v[0], v[2] = None, True
|
||||||
else:
|
else:
|
||||||
self.states[slot][0], self.states[slot][2] = None, True
|
self.states[slot][0], self.states[slot][2] = None, True
|
||||||
|
Loading…
Reference in New Issue
Block a user