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