Fix bug in getting colorizations by name.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@967 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -83,7 +83,7 @@ public class ClassRecord
|
||||
}
|
||||
|
||||
// Look for name matches among all colors
|
||||
for each (var color :ColorRecord in colors) {
|
||||
for each (var color :ColorRecord in colors.values()) {
|
||||
if (StringUtil.compareIgnoreCase(color.name, name) == 0) {
|
||||
return color.colorId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user