diff options
Diffstat (limited to 'client/player/controllable_player.gd')
-rw-r--r-- | client/player/controllable_player.gd | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd index ab43b70b..c5180264 100644 --- a/client/player/controllable_player.gd +++ b/client/player/controllable_player.gd @@ -47,18 +47,6 @@ func _ready(): ) add_child(onscreen_controls) super() - chat_bubble.submit_message.connect(submit_message) - -func _input(_event): - if Input.is_action_just_pressed("chat"): - if chat_open and not game.menu.covered: - chat_bubble.stop_edit() - chat_open = false - enable_input = true - elif is_input_enabled(): - chat_bubble.edit() - chat_open = true - enable_input = false const MAX_DT = 1. / 50. func _process(delta): @@ -148,9 +136,6 @@ func aabb_point_distance(mi: Vector2, ma: Vector2, p: Vector2) -> float: func update_position(_new_position: Vector2, _new_rotation: float, _new_boosting: bool): pass -func submit_message(text: String): - game.mp.send_chat(game.player_id, text) - func progress(p: float, warn: bool): super(p, warn) Input.start_joy_vibration(0, 0.5, 0.1, 0.15) |