Had to import math to get this to work, if that's wrong just ignore.
Merge pull request #671 from Alex-van-der-Peet/PLNPlaytime

Had to import math to get this to work, if that's wrong just ignore.