Fixed the hasTurret field

the value doesn’t throw exceptions anymore with the added input
statement