Document restore function (#10)

This commit is contained in:
auouymous 2022-01-13 10:37:05 -07:00 committed by GitHub
parent 5086ec1256
commit d47f7239e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,10 @@ The `skybox` handle can be used to perform various actions:
`skybox.set(player, number)`
-- Sets the skybox to the `number` in the list of current skyboxes.
`skybox.restore(player)`
-- Reverts the player skybox to the last `skybox.set()` value.
-- Other skybox mods can properly restore the player's custom skybox.
`skybox.add(skyboxdef)`
-- Add a new skybox with skyboxdef to the list of available skyboxes.