Quick fix: This code would trigger on windows/linux if the admin panel was open.
Formatting.