local canUpgrade = false
print(parentUpgrades)
if parentUpgrades == {} then
canUpgrade = true
end
print(canUpgrade)
line 25 prints {} (as it should)
line 29 prints false (should not)
for some reason, the if statement says parentUpgrades is not equal to {} even though the print statement clearly said it was. i tried nil and even an empty table equal to {} instead of {} in the if statement, nothing changed