diff --git a/src/playermat/Playmat.ttslua b/src/playermat/Playmat.ttslua index 47bd0e17..41620ad8 100644 --- a/src/playermat/Playmat.ttslua +++ b/src/playermat/Playmat.ttslua @@ -631,7 +631,7 @@ function showDrawButton(visible) self.createButton({ label = "Draw 1", click_function = "doDrawOne", - function_owner = mat, + function_owner = self, position = { 1.84, 0.1, -0.36 }, scale = { 0.12, 0.12, 0.12 }, width = 800,