From d506067c723cc0599f8b964eff8af87b8ab9273d Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Fri, 23 Sep 2022 09:59:24 +0200 Subject: [PATCH] #FOX * Typo in Event Function fixed --- Moose Development/Moose/Functional/Fox.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Moose Development/Moose/Functional/Fox.lua b/Moose Development/Moose/Functional/Fox.lua index 55b6e8548..6badf270f 100644 --- a/Moose Development/Moose/Functional/Fox.lua +++ b/Moose Development/Moose/Functional/Fox.lua @@ -1162,7 +1162,7 @@ function FOX:OnEventBirth(EventData) -- Add F10 radio menu for player. if not self.menudisabled then - self:ScheduleOnce(0.1, FOX._AddF10Commands, self, _unitname) + self:ScheduleOnce(0.1, self._AddF10Commands, self, _unitName) end -- Player data. @@ -1429,10 +1429,10 @@ function FOX:_AddF10Commands(_unitName) end else - self:E(self.lid..string.format("ERROR: Could not find group or group ID in AddF10Menu() function. Unit name: %s.", _unitName)) + self:E(self.lid..string.format("ERROR: Could not find group or group ID in AddF10Menu() function. Unit name: %s.", _unitName or "unknown")) end else - self:E(self.lid..string.format("ERROR: Player unit does not exist in AddF10Menu() function. Unit name: %s.", _unitName)) + self:E(self.lid..string.format("ERROR: Player unit does not exist in AddF10Menu() function. Unit name: %s.", _unitName or "unknown")) end end