🔵 Describe the bug:
Changing variable in Block Type: If will always be =true
🔵 To reproduce: (Steps to reproduce the behavior)
Create Sequence, add Block Type: If and change Variable to =false or =GSE.V["checkRaceOrc"](). After saving, reopen sequence and it will still stay =true.
Used checkRaceOrc:
function()
local race = UnitRace("player")
if race == "Orc" then
return true
else
return false
end
end
🔵 The error:
Paste the error message in this blockquote.
no error shown
🔵 Screenshots:
🔵 Expected behavior:
A clear and concise description of what you expected to happen.
🔵 Describe the bug: Changing variable in Block Type: If will always be =true
🔵 To reproduce: (Steps to reproduce the behavior) Create Sequence, add Block Type: If and change Variable to
=false
or=GSE.V["checkRaceOrc"]()
. After saving, reopen sequence and it will still stay=true
.Used checkRaceOrc:
🔵 The error: Paste the error message in this blockquote.
🔵 Screenshots:
🔵 Expected behavior: A clear and concise description of what you expected to happen.
🔵 GSE.lua file: GSE - kopie.lua.txt
🔵 Desktop (please complete the following information):
🔵 GSE Version:
🔵 Additional context: Add any other context about the problem here.