summaryrefslogtreecommitdiff
path: root/client/menu/menu_background.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu/menu_background.gd')
-rw-r--r--client/menu/menu_background.gd3
1 files changed, 0 insertions, 3 deletions
diff --git a/client/menu/menu_background.gd b/client/menu/menu_background.gd
index e5b8ac31..49a1e628 100644
--- a/client/menu/menu_background.gd
+++ b/client/menu/menu_background.gd
@@ -14,11 +14,9 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
-@tool
extends Node3D
@onready var map = $map
-@onready var voxel_gi: VoxelGI = $VoxelGI
const NULLS = [null,null,null,null]
const BUCKETS = [[], ["floor","floor","floor","floor","tomato-crate", "raw-steak-crate"], ["table", "chair", "counter"], ["sink", "stove"]]
@@ -32,4 +30,3 @@ func _ready():
if bucket.size() == 0: continue
var tile = bucket[randi() % bucket.size()]
map.update([x,y], tile, NULLS)
- voxel_gi.bake()