Fix crash in Magnetic Flux
Merge pull request #538 from Slayer95/patch-1

Fix crash in Magnetic Flux