Fix: fix some class name errors

This commit is contained in:
Kazhnuz 2020-09-13 16:59:24 +02:00
parent ea4f3a926c
commit 94e384ee27
2 changed files with 5 additions and 5 deletions

View file

@ -29,7 +29,7 @@ function QteParent:drawButton(x, y, letter)
utils.graphics.resetColor() utils.graphics.resetColor()
end end
function StepParent:updateStep(dt) function QteParent:updateStep(dt)
if (not self.isStarted) then if (not self.isStarted) then
self:start() self:start()
self.isStarted = true self.isStarted = true
@ -39,11 +39,11 @@ function StepParent:updateStep(dt)
end end
end end
function StepParent:update(dt) function QteParent:update(dt)
-- --
end end
function StepParent:updateTimer(dt) function QteParent:updateTimer(dt)
if (self.arguments.duration ~= nil) then if (self.arguments.duration ~= nil) then
self.timer = self.timer + dt self.timer = self.timer + dt
if (self.timer > self.arguments.duration) then if (self.timer > self.arguments.duration) then

View file

@ -68,7 +68,7 @@ function widgets.SubMenuWidget:new(character, menu_name, label, newmenu)
label2 = ">" label2 = ">"
self.sfx = "mBeep" self.sfx = "mBeep"
end end
SubMenuWidget.super.new(self, character, menu_name, label, label2) widgets.SubMenuWidget.super.new(self, character, menu_name, label, label2)
self.newmenu = newmenu or "BaseMenu" self.newmenu = newmenu or "BaseMenu"
end end
@ -81,7 +81,7 @@ end
-- Quit the menu -- Quit the menu
function widgets.BackMenuWidget:new(character, menu_name) function widgets.BackMenuWidget:new(character, menu_name)
BackMenuWidget.super.new(self, character, menu_name, "back", "") widgets.BackMenuWidget.super.new(self, character, menu_name, "back", "")
end end
function widgets.BackMenuWidget:sendCharacterData() function widgets.BackMenuWidget:sendCharacterData()