Fix Dwarf can't see workshop action.
Contributed by yksdtc.
This commit is contained in:
@@ -396,6 +396,15 @@ public enum ClassId implements IIdentifiable
|
||||
return _parent;
|
||||
}
|
||||
|
||||
public final ClassId getRootClassId()
|
||||
{
|
||||
if (_parent != null)
|
||||
{
|
||||
return _parent.getRootClassId();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return list of possible class transfer for this class
|
||||
*/
|
||||
|
Reference in New Issue
Block a user