Home
/
browser-rts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
force build/unit amounts to be > 0
[browser-rts.git]
/
src
/
errors.ts
diff --git
a/src/errors.ts
b/src/errors.ts
index ff5ef308b670d98b9b60a380d7f5fe4e1b9dbe0f..1a9b605dc7f45940c8f50a12cda54ab90d0b2557 100644
(file)
--- a/
src/errors.ts
+++ b/
src/errors.ts
@@
-47,6
+47,7
@@
export const ERROR_CODE = {
NO_CITY: 2000,
INSUFFICIENT_RESOURCE: 3000,
INVALID_BUILDING: 4000,
+ INVALID_AMOUNT: 6000,
INVALID_UNIT: 5000,
DUPLICATE_CACHE_KEY: 900,
}