aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/skang.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ClientHamr/GuiLua/skang.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua
index 379b871..bc59f85 100644
--- a/ClientHamr/GuiLua/skang.lua
+++ b/ClientHamr/GuiLua/skang.lua
@@ -259,6 +259,7 @@ Thing.isValid = function (self) -- Check if this Thing is valid, return resultin
259 -- Anything that overrides this method, should call this super method first. 259 -- Anything that overrides this method, should call this super method first.
260 local value = self.value 260 local value = self.value
261 self.errors = {} 261 self.errors = {}
262 -- TODO - Naturally there should be formatting functions for stuffing Thing stuff into strings, and overridable output functions.
262 if 'nil' == type(value) then 263 if 'nil' == type(value) then
263 if self.required then table.insert(self.errors, self.names[1] .. ' is required!') end 264 if self.required then table.insert(self.errors, self.names[1] .. ' is required!') end
264 else 265 else