Var not updating feedback after updating psychopy version

URL of experiment: https://pavlovia.org/jmfine/a1_o1_test

Description of the problem: I had built this experiment, and had it working online using an earlier PsychoPy variant. I made some small updates after also updating to a newer psychopy. Since then, a variable I use to display feedback (by controlling the opacity of a polygon stimulus) will no longer change.
This works locally, but not online. I know the condition needed to change it IS evaluating correctly. But the variable never seems to change?

In the experiment its var win_opac and var nothing_opac

This is the conditional code:

bd = reward;
resp = key_resp.keys;
win_opac = 0;
nothing_opac = 0;
if ((bd === 1)) {
if ((resp !== null)) {
if (key_resp.corr) {
msg = “Point!”;
win_opac = 1;
trial_fdbk = 1;
} else {
if ((! key_resp.corr)) {
msg = “Nothing!”;
nothing_opac = 1;
trial_fdbk = 2;
}
}
} else {
if ((resp === null)) {
msg = “Nothing!”;
nothing_opac = 1;
trial_fdbk = 2;
}
}
}
if ((bd === 0)) {
if ((resp !== null)) {
msg = “Nothing!”;
nothing_opac = 1;
trial_fdbk = 2;
} else {
if ((resp === null)) {
msg = “Point!”;
win_opac = 1;
trial_fdbk = 1;
}
}
}