mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-23 08:17:34 -04:00
close socket manually
This commit is contained in:
parent
fc6bf939c0
commit
9dcb0fd3f2
3 changed files with 11 additions and 1 deletions
|
@ -63,3 +63,7 @@ func wrong_args_count(command: Command, right_count: int) -> bool:
|
||||||
return true
|
return true
|
||||||
|
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
|
||||||
|
func _exit_tree() -> void:
|
||||||
|
close()
|
||||||
|
|
|
@ -45,3 +45,9 @@ func get_scaled_mouse_pos(position : Vector2) -> Vector2:
|
||||||
position.x *= scale_width
|
position.x *= scale_width
|
||||||
position.y *= scale_height
|
position.y *= scale_height
|
||||||
return position
|
return position
|
||||||
|
|
||||||
|
|
||||||
|
func _exit_tree() -> void:
|
||||||
|
if input_sync != null:
|
||||||
|
input_sync.close()
|
||||||
|
input_sync = null
|
||||||
|
|
2
godot
2
godot
|
@ -1 +1 @@
|
||||||
Subproject commit 36cbe3cb18c96a196032159b4d2ec4993d7c9479
|
Subproject commit a3171b5f2fd2df41d3476b76b65942ad32e0b2e1
|
Loading…
Add table
Add a link
Reference in a new issue