hack hack hack mostly works

This commit is contained in:
Chris Forbes
2010-05-10 19:49:17 +12:00
parent 94fdc4abba
commit 639465ba97
3 changed files with 77 additions and 13 deletions

View File

@@ -251,7 +251,7 @@ namespace OpenRA.Editor
}
bitmap.UnlockBits(data);
return new ResourceTemplate { Bitmap = bitmap, Info = info };
return new ResourceTemplate { Bitmap = bitmap, Info = info, Value = shp.ImageCount - 1 };
}
}