mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
12 lines
164 B
GDScript
12 lines
164 B
GDScript
extends Button
|
|
|
|
export var async = false
|
|
|
|
func _ready():
|
|
pass
|
|
|
|
func pressed():
|
|
if async:
|
|
$"../..".send_command_async(text)
|
|
else:
|
|
$"../..".send_command(text)
|