Fixed world flags not being read properly