Set default value for self.imagecolor

This commit is contained in:
Kenny Shields 2015-01-06 10:58:57 -05:00
parent cb6d7ca321
commit 328cd9a642
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ function newobject:initialize()
self.sheary = 0
self.internal = false
self.image = nil
self.imagecolor = nil
self.imagecolor = {255, 255, 255, 255}
end

View File

@ -24,7 +24,7 @@ function newobject:initialize()
self.clickable = true
self.enabled = true
self.image = nil
self.imagecolor = nil
self.imagecolor = {255, 255, 255, 255}
self.OnClick = nil
end