Wrong type for Flag.color
-
In the docs right now, Flag.color and Flag.secondaryColor is string. But all the COLOR_* constants are number. I think the docs is wrong in this case.
-
Fixed, thanks.
-
The issue is still there, both in normal and PTR API docs
-
This page contains the correct info: http://support.screeps.com/hc/en-us/articles/203079181-Flag