GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[BUG] Block IF

Nereziel opened this issue ยท 0 comments

commented

๐Ÿ”ต 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:
image
image

๐Ÿ”ต 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):

  • OS: Windows 10 64bit
  • Game Version retail (11.0.0)

๐Ÿ”ต GSE Version:

๐Ÿ”ต Additional context:
Add any other context about the problem here.