made a table local
This commit is contained in:
@@ -2,7 +2,7 @@ interfaceDialog = {type = "Dialog"}
|
||||
-- dialog boxes
|
||||
function interfaceDialog:New(style)
|
||||
local o = {}
|
||||
|
||||
|
||||
o.pos = {
|
||||
x = 0,
|
||||
y = game.height*80/100
|
||||
@@ -10,7 +10,6 @@ function interfaceDialog:New(style)
|
||||
o.size = {
|
||||
w = game.width,
|
||||
h = game.height*20/100
|
||||
|
||||
}
|
||||
|
||||
o.value = 0
|
||||
@@ -34,7 +33,6 @@ function interfaceDialog:New(style)
|
||||
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
|
||||
return o
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user