money input changes

This commit is contained in:
Manuel Simon Hirsig
2016-08-29 19:08:35 +02:00
parent 542162439f
commit 54b641fb2c
3 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ do
function declarator_mt:__newindex(key, value) self=state[self]
local name, event = self.declaration_name, nil
if name then
event = EVENT[key] or declaration_error()
event = EVENT[key] or error(name)
else
name, event = key, type(value) == 'function' and CALL or INDEX
end