mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-14 07:56:32 +00:00
⚡️ Headless optimizations
This commit is contained in:
parent
4157ae7ba5
commit
bc5aa8a41f
8 changed files with 48 additions and 49 deletions
|
|
@ -22,6 +22,9 @@ var environment := Environment.new()
|
|||
## Random number generator instance
|
||||
var _rng := RandomNumberGenerator.new()
|
||||
|
||||
var _maps_resource : ArrayPackedSceneResource = preload("res://maps/maps.tres")
|
||||
var maps : Array[PackedScene] = _maps_resource.get_items()
|
||||
|
||||
## Reference to the current terrain map in the scene
|
||||
var current_map : Terrain3D = null:
|
||||
set(new_map):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue