diff options
author | David Walter Seikel | 2014-03-27 00:13:32 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-03-27 00:13:32 +1000 |
commit | 1688d7b2df75a03bc42c449624853893a2d1c442 (patch) | |
tree | b224dda0f9b6c1b3debbdb742e48593d22c9a088 /ClientHamr/GuiLua | |
parent | Typo-- (diff) | |
download | SledjHamr-1688d7b2df75a03bc42c449624853893a2d1c442.zip SledjHamr-1688d7b2df75a03bc42c449624853893a2d1c442.tar.gz SledjHamr-1688d7b2df75a03bc42c449624853893a2d1c442.tar.bz2 SledjHamr-1688d7b2df75a03bc42c449624853893a2d1c442.tar.xz |
TODO++
Diffstat (limited to 'ClientHamr/GuiLua')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 1 |
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 |