Fixed a crash on dedicated servers with EnumColor

You can see the crash here https://gist.github.com/darkevilmac/f9587498216118ebf49a if you run the server with this change the crash no longer occurs.