mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 11:17:26 -04:00
close socket manually
This commit is contained in:
parent
fc6bf939c0
commit
9dcb0fd3f2
3 changed files with 11 additions and 1 deletions
|
@ -45,3 +45,9 @@ func get_scaled_mouse_pos(position : Vector2) -> Vector2:
|
|||
position.x *= scale_width
|
||||
position.y *= scale_height
|
||||
return position
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
if input_sync != null:
|
||||
input_sync.close()
|
||||
input_sync = null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue