Update GaCy-GO
This commit is contained in:
1 parent
da8a32f60d
commit
0cbe460e49
345 files changed
+98202
-77559
No files matched your search
@@ -62,6 +62,7 @@ func (c *CurrencyWarsCatalog) validateRoleVariants() error {
|
||||
}
|
||||
|
||||
func (c *CurrencyWarsCatalog) CapturedRoleVariant(roleID, star uint32) (CurrencyWarsRoleVariant, error) {
|
||||
roleID = c.CurrentRoleID(roleID)
|
||||
role, exists := c.variantByKey[[2]uint32{roleID, star}]
|
||||
if !exists {
|
||||
return CurrencyWarsRoleVariant{}, fmt.Errorf("CW role %d star %d has not been captured", roleID, star)
|
||||
|
||||
Reference in new issue
Block a user