Niagara won't accept Local vs World space updates from cpp

So I have my niagara system and emmiter, it’s accepting cpp parameters for everything else (scale, velocity etc…) but it will not accept a rotation coordinate space parameter to change the emitter from local to world space. It should be just an int value, but no matter what I do it won’t update from the cpp.

Here is the line of code that works for every other parameter but this one:

”NIComp->SetNiagaraVariableInt(TEXT(“User.PartLocalSpace”), 1);”

It just won’t accept it, it stays whatever I put in the editor for the parameter’s default no matter what I change it to. It is the right name. It will update if I change the parameter in the editor.

Any suggestions?