Anri/AdBlockNot
Archived
1
0
Fork 0
This commit is contained in:
Mylloon 2024-01-28 18:25:34 +01:00
parent 72a58d4260
commit ac461e1cf5
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 7 deletions

View file

@ -14,15 +14,11 @@ func exit_condition():
func close():
if exit_condition():
self.visible = false
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
func _process(_delta):
close()
func _on_button_pressed():
print("pressed")
condition = true

View file

@ -5,13 +5,12 @@ extends "res://scripts/ads.gd"
func _ready():
$Panel2/Button.disabled = true
pass
func exit_condition():
return condition
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
func _process(_delta):
close()
func _on_button_pressed():