diff --git a/scenes/game/ads/Ads_sexy_robot.tscn b/scenes/game/ads/Ads_sexy_robot.tscn index 13b50c1..21879cf 100644 --- a/scenes/game/ads/Ads_sexy_robot.tscn +++ b/scenes/game/ads/Ads_sexy_robot.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=3 uid="uid://cyxifateppwnk"] +[gd_scene load_steps=8 format=3 uid="uid://dgsu5jn00smc8"] [ext_resource type="PackedScene" uid="uid://n06gkookqeml" path="res://scenes/game/windows/Ads.tscn" id="1_g6iem"] [ext_resource type="Script" path="res://scripts/ads/Ads_sexy_robot.gd" id="2_17d4p"] @@ -30,6 +30,7 @@ scale = Vector2(0.390625, 0.409375) texture = ExtResource("8_buqmw") [node name="HSlider" type="HSlider" parent="." index="2"] +layout_mode = 0 offset_left = 56.0 offset_top = 361.0 offset_right = 432.0 diff --git a/scripts/ads/Ads_sexy_robot.gd b/scripts/ads/Ads_sexy_robot.gd index e4657c1..1dd6bc8 100644 --- a/scripts/ads/Ads_sexy_robot.gd +++ b/scripts/ads/Ads_sexy_robot.gd @@ -1,19 +1,9 @@ extends "res://scripts/ads/ads_default.gd" - -# Called when the node enters the scene tree for the first time. -func _ready(): - pass # Replace with function body. - -# Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): - pass - func exit_condition(): return condition func _on_h_slider_value_changed(value): print(value) - if (value > 98): + if (value >= 98): condition = true -