29.02.2016, 09:29
Check what kind of variable you have in 'Vremenski_hodnik_kat1_enable' storage. As you have strict checks against true / false, for example, if your variable is set to 1, it will fail both checks. In Lua (1 == true) and (1 == false) are both false.
For less strict checks, you can add toboolean conversion:
http://openrb.com/docs/lua.htm#toboolean
For less strict checks, you can add toboolean conversion:
http://openrb.com/docs/lua.htm#toboolean