diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2022-09-19 17:44:22 -0400 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2022-09-19 17:44:22 -0400 |
| commit | 1d347e770fddcdd051890cdf070fd2779ab113bf (patch) | |
| tree | 6501fb000509819b7ba58df15c9a831c8bdc44fb /godot/scripts/GameBase.gd | |
| parent | 2fd755132f526c48fed2c1867530526971e1cf19 (diff) | |
problems: player controller perf, boat perf, NAVSERVER PERF
Diffstat (limited to 'godot/scripts/GameBase.gd')
| -rw-r--r-- | godot/scripts/GameBase.gd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/godot/scripts/GameBase.gd b/godot/scripts/GameBase.gd index be430d4..e8f7ad0 100644 --- a/godot/scripts/GameBase.gd +++ b/godot/scripts/GameBase.gd @@ -29,7 +29,8 @@ remote func set_up_server_info(info): $HUD/ServerJoinMenu/MOTD.text = info["MOTD"] $HUD/ServerJoinMenu/ServerName.text = info["server_name"] $DEFAULTCAM.transform = info["cam_pos"] - cam.attach($DEFAULTCAM, "STATIC") + cam.attach($DEFAULTCAM, "STATIC", NodePath(".")) + rpc_id(1, "_call_on_server", "_client_connection_confirmed", {"id" : client_id, "username" : player_name}) |
