mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
12 lines
283 B
Lua
12 lines
283 B
Lua
-- ase -- allegro-sprite-editor: the ultimate sprites factory
|
|
-- Copyright (C) 2001-2005 by David A. Capello
|
|
|
|
-- closes the current sprite
|
|
function CloseSprite()
|
|
local sprite = current_sprite
|
|
if sprite then
|
|
sprite_unmount(sprite)
|
|
sprite_free(sprite)
|
|
end
|
|
end
|