mirror of
https://github.com/GarrettGunnell/God-Machine.git
synced 2025-10-19 06:43:15 +00:00
Clear button also updates gpu data
This commit is contained in:
parent
98fe4d3522
commit
2af48f0f84
1 changed files with 2 additions and 0 deletions
|
@ -10,3 +10,5 @@ func on_pressed() -> void:
|
|||
for y in range(-7, 8):
|
||||
var cell_coord = Vector2i(x, y)
|
||||
grid.set_cell(cell_coord, 1, Vector2i(0, 0), 0)
|
||||
|
||||
get_node("../../.").encode_grid_to_neighborhood_bytes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue