Browse Source

Remove superfluous and wrong logic to reuse cached load (#186)

Pedro J. Estébanez 1 year ago
parent
commit
690ee91837
1 changed files with 1 additions and 5 deletions
  1. 1 5
      menu/menu.gd

+ 1 - 5
menu/menu.gd

@@ -153,11 +153,7 @@ func _on_loading_done_timer_timeout():
 func _on_play_pressed():
 	main.hide()
 	loading.show()
-	if ResourceLoader.has_cached(path):
-		multiplayer.multiplayer_peer = peer
-		emit_signal("replace_main_scene", ResourceLoader.load_threaded_get(path))
-	else:
-		ResourceLoader.load_threaded_request(path, "", true)
+	ResourceLoader.load_threaded_request(path, "", true)
 
 func _on_settings_pressed():
 	main.hide()