Unregister cave shapes

pull/1/head
Bram van den Heuvel 2024-04-22 07:50:29 +02:00
parent 36b755725d
commit 1250abe7d8
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,10 @@ function noordstar_caves.register_shape(def)
end
end
function noordstar_caves.unregister_shape(name)
noordstar_caves.registered_shapes[name] = nil
end
function noordstar_caves.clear_registered_shapes()
noordstar_caves.registered_shapes = {}
end