Changeset - ec0acb2809c2
[Not reviewed]
snapshots
0 1 0
Silverwing - 5 years ago 2019-07-11 20:00:00

Utils rfc
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
utils.lua
Show inline comments
 
@@ -55,7 +55,7 @@ EngineUtils = {
 
    end;
 
 
    getValue = function(source, param)
 
        local value = nil;
 
        local value;
 
        if (type(source) == "function") then
 
            value = source(param);
 
        else
 
@@ -197,7 +197,7 @@ end;
 
function npc(tab)
 
	if (not tab.act) then
 
		tab.act = function(s)
 
            local dlg = nil;      
 
            local dlg;
 
			if s.dlg then
 
                dlg = EngineUtils.getValue(s.dlg, s);
 
		    end;
0 comments (0 inline, 0 general)