Fix Scene folder rename refs

This commit is contained in:
JonShard
2026-08-06 19:46:43 +02:00
parent 85960df6b2
commit aa4ffd6346
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -146,9 +146,9 @@ func _on_player_left(peer_id: int) -> void:
func _on_session_ended() -> void: func _on_session_ended() -> void:
NetworkManager.log_line("Session ended, returning to main menu") NetworkManager.log_line("Session ended, returning to main menu")
get_tree().change_scene_to_file("res://Scenes/mainMenu.tscn") get_tree().change_scene_to_file("res://scenes/mainMenu.tscn")
func _on_connection_failed() -> void: func _on_connection_failed() -> void:
NetworkManager.log_line("Connection failed, returning to main menu") NetworkManager.log_line("Connection failed, returning to main menu")
get_tree().change_scene_to_file("res://Scenes/mainMenu.tscn") get_tree().change_scene_to_file("res://scenes/mainMenu.tscn")
+1 -1
View File
@@ -52,7 +52,7 @@ func _ready() -> void:
move_ghost.visible = false move_ghost.visible = false
_cache_ghost_materials() _cache_ghost_materials()
_set_ghost_color(GHOST_COLOR_VALID) _set_ghost_color(GHOST_COLOR_VALID)
set_move_handle_enabled(false) set_move_handle_enabled(GameManager.game_state == GameManager.GameState.BUILDING)
Signals.game_state_changed.connect(_on_game_state_changed) Signals.game_state_changed.connect(_on_game_state_changed)
+2 -2
View File
@@ -5,8 +5,8 @@ extends Control
## multiplayer game, or join one by IP, driving scene switches + NetworkManager ## multiplayer game, or join one by IP, driving scene switches + NetworkManager
## directly. ## directly.
const JON_SCENE := "res://Scenes/JonScene.tscn" const JON_SCENE := "res://scenes/JonScene.tscn"
const MULTIPLAYER_SCENE := "res://Scenes/multiPlayer.tscn" const MULTIPLAYER_SCENE := "res://scenes/multiPlayer.tscn"
const SETTINGS_PATH := "user://vryhungry_settings.cfg" const SETTINGS_PATH := "user://vryhungry_settings.cfg"
var _ip := "127.0.0.1" var _ip := "127.0.0.1"
+1 -1
View File
@@ -31,7 +31,7 @@ const END_HOLD := 3.0
## scene and has to receive the whole layout over the network — the same path a ## scene and has to receive the whole layout over the network — the same path a
## client joining mid-session takes. ## client joining mid-session takes.
const SERVER_SCENE := "res://test/multiPlayerTest.tscn" const SERVER_SCENE := "res://test/multiPlayerTest.tscn"
const CLIENT_SCENE := "res://Scenes/multiPlayer.tscn" const CLIENT_SCENE := "res://scenes/multiPlayer.tscn"
func _run() -> void: func _run() -> void: