7 lines
209 B
Plaintext
7 lines
209 B
Plaintext
@rpc("authority", "call_local", "reliable")
|
|
func sync_clear_sticky_cell(pos: Vector2i) -> void:
|
|
sticky_cells.erase(pos)
|
|
mark_cleansed(pos)
|
|
if gridmap:
|
|
gridmap.set_cell_item(Vector3i(pos.x, 2, pos.y), -1)
|