aboutsummaryrefslogtreecommitdiff
path: root/client/map
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-06-27 18:23:24 +0200
committernokoe <nokoe@mailbox.org>2024-06-27 18:23:24 +0200
commit2e044d142897038b18ff95fa6087064fc4ff3d89 (patch)
tree20e22bb42762e5e5d4d55e849da05840695f47a0 /client/map
parent5a94633c97363779ba05f02c8d1a88ddbbf21707 (diff)
downloadhurrycurry-2e044d142897038b18ff95fa6087064fc4ff3d89.tar
hurrycurry-2e044d142897038b18ff95fa6087064fc4ff3d89.tar.bz2
hurrycurry-2e044d142897038b18ff95fa6087064fc4ff3d89.tar.zst
implement score
Diffstat (limited to 'client/map')
-rw-r--r--client/map/map.gd1
-rw-r--r--client/map/map.tscn1
2 files changed, 2 insertions, 0 deletions
diff --git a/client/map/map.gd b/client/map/map.gd
index 63527743..49df1ce3 100644
--- a/client/map/map.gd
+++ b/client/map/map.gd
@@ -56,4 +56,5 @@ func gi_bake_blocking():
print("Baking now!")
var start = Time.get_ticks_msec()
voxelgi.bake()
+ voxelgi.visible = true
print("Bake done. elapsed=", Time.get_ticks_msec() - start)
diff --git a/client/map/map.tscn b/client/map/map.tscn
index cd08e416..0f8e4702 100644
--- a/client/map/map.tscn
+++ b/client/map/map.tscn
@@ -13,5 +13,6 @@ script = ExtResource("1_3en0a")
one_shot = true
[node name="VoxelGI" type="VoxelGI" parent="."]
+visible = false
camera_attributes = SubResource("CameraAttributesPractical_kwk4i")
data = SubResource("VoxelGIData_m5j5n")