fixed operation with two variables

This commit is contained in:
Sokomine 2025-06-09 04:04:46 +02:00
parent cce17c7c23
commit 38081f8f17

View File

@ -590,7 +590,7 @@ yl_speak_up.custom_functions_r_[ "var0_eq_var1_op_var2" ] = {
local owner = yl_speak_up.npc_owner[ n_id ]
local prefix = "$ "..tostring(owner).." "
local v_1 = yl_speak_up.get_quest_variable_value(pname, prefix..r.r_param2)
local v_2 = yl_speak_up.get_quest_variable_value(pname, prefix..r.r_param3)
local v_2 = yl_speak_up.get_quest_variable_value(pname, prefix..r.r_param4)
local new_value = nil
local op = r.r_param3
if(op == 'and') then