diff --git a/stepmania/Themes/default/Scripts/Actor.lua b/stepmania/Themes/default/Scripts/Actor.lua index 73b5c1e011..f72dd2307e 100644 --- a/stepmania/Themes/default/Scripts/Actor.lua +++ b/stepmania/Themes/default/Scripts/Actor.lua @@ -83,6 +83,11 @@ function ActorFrame:propagatecommand(...) self:propagate(0); end +function ActorFrame:RunCommandsRecursively(func, ...) + func(self, ...); + self:RunCommandsOnChildren( func, ... ); +end + -- Most backgrounds are 640x480. Some are 768x480. Stretch the 640x480 ones. function Actor:scale_or_crop_background() if self:GetWidth() == 640 and self:GetHeight() == 480 then