added missing ( ) in tile spawn function