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()
end
function StepParent:updateStep(dt)
function QteParent:updateStep(dt)
if (not self.isStarted) then
self:start()
self.isStarted = true
@ -39,11 +39,11 @@ function StepParent:updateStep(dt)
end
end
function StepParent:update(dt)
function QteParent:update(dt)
--
end
function StepParent:updateTimer(dt)
function QteParent:updateTimer(dt)
if (self.arguments.duration ~= nil) then
self.timer = self.timer + dt
if (self.timer > self.arguments.duration) then

View file

@ -68,7 +68,7 @@ function widgets.SubMenuWidget:new(character, menu_name, label, newmenu)
label2 = ">"
self.sfx = "mBeep"
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"
end
@ -81,7 +81,7 @@ end
-- Quit the menu
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
function widgets.BackMenuWidget:sendCharacterData()