Code quality v2
This commit is contained in:
parent
4da6f66703
commit
f02c18c26e
|
@ -3,8 +3,9 @@
|
|||
--- Has support for both individual images in spritesheets and animations. This
|
||||
--- can be specified from a lua file placed beside the spritesheet image file.
|
||||
|
||||
local error_original = error
|
||||
local error, error_internal do
|
||||
error, error_internal = error, error
|
||||
error, error_internal = error_original, error_original
|
||||
local success, errorlib = pcall(require, 'errors')
|
||||
if success then
|
||||
error = errorlib 'spritesheet'
|
||||
|
|
Loading…
Reference in New Issue
Block a user