From 22a1af89d4af67b111c99c0fa6ed0dd647160283 Mon Sep 17 00:00:00 2001 From: JHDev2006 Date: Thu, 23 Oct 2025 20:05:30 +0100 Subject: [PATCH] couple of error fixes --- Scenes/Prefabs/Particles/LakituCloudBurst.tscn | 10 +--------- Scripts/Classes/Singletons/Global.gd | 4 ++-- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Scenes/Prefabs/Particles/LakituCloudBurst.tscn b/Scenes/Prefabs/Particles/LakituCloudBurst.tscn index c10ae2dd..e122dd7b 100644 --- a/Scenes/Prefabs/Particles/LakituCloudBurst.tscn +++ b/Scenes/Prefabs/Particles/LakituCloudBurst.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=3 uid="uid://dybfmrawthall"] +[gd_scene load_steps=9 format=3 uid="uid://dybfmrawthall"] [ext_resource type="Texture2D" uid="uid://boongcly3e2cl" path="res://Assets/Sprites/Particles/LakituCloudBurst.png" id="1_3jvpp"] [ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="2_cic8a"] @@ -40,20 +40,12 @@ animations = [{ "speed": 10.0 }] -[sub_resource type="GDScript" id="GDScript_3jvpp"] -script/source = "extends AnimatedSprite2D - -func _ready() -> void: - pass -" - [node name="LakituCloudBurst" type="AnimatedSprite2D"] z_index = 5 sprite_frames = SubResource("SpriteFrames_xs1ui") autoplay = "default" frame = 3 frame_progress = 1.0 -script = SubResource("GDScript_3jvpp") [node name="Timer" type="Timer" parent="."] wait_time = 10.0 diff --git a/Scripts/Classes/Singletons/Global.gd b/Scripts/Classes/Singletons/Global.gd index 43195a2c..69e1e8ad 100644 --- a/Scripts/Classes/Singletons/Global.gd +++ b/Scripts/Classes/Singletons/Global.gd @@ -59,8 +59,8 @@ signal text_shadow_changed var debugged_in := true -var score_tween = create_tween() -var time_tween = create_tween() +var score_tween = null +var time_tween = null var total_deaths := 0