freeze.IsFrozen() does not detect frozen sidechains
Case number: | 699969-2000850 |
Topic: | General |
Opened by: | zeroblue |
Status: | Closed |
Type: | Bug |
Opened on: | Monday, June 22, 2015 - 16:17 |
Last modified: | Monday, June 22, 2015 - 16:49 |
I tested this code on puzzles 1101 and 1103. It detects frozen backbones, but not frozen sidechains.
for i=1,structure.GetCount() do
if freeze.IsFrozen(i) then
print("Seg "..i.." is frozen.")
end
end
With these new mutable puzzles, it would be very nice to be able to detect frozen sidechains.
»
The function freeze.IsFrozen() returns two booleans, so the correct usage is:
bool1, bool2 = freeze.IsFrozen(i)
Thanks to Sasume for explaining this!