Jump to content

Image is defined as a global Class


Rickzzs
  • Pending

in image.lua

Image = Class(Widget, function(self, atlas, tex, default_tex)

What is the reason you make it global?

There are bound to be bugs if this file is loaded more than once.


Steps to Reproduce

Look at the script




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...