Fix right click state for modules that can't be overloaded

This commit is contained in:
cncfanatics
2010-10-20 20:46:36 +02:00
parent 490a21cc53
commit 9b46b7c02c

View File

@@ -321,7 +321,7 @@ class Fit(object):
if mod.slot in (Slot.RIG, Slot.SUBSYSTEM) or mod.isEmpty:
return State.ONLINE
currState = mod.state
currState = state = mod.state
if proposedState is not None:
state = proposedState
elif click == "right":