public synchronized void loadMapSynch(String name) {
		loadMap(name);
		while(!isMapLoaded) {
			try {
				this.wait();
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		if (map.mapScript != null)
			new Thread(new ScriptHandler(game, map.mapScript, null)).start();
	}