fixed code to work with the current PlayMaker version. D'oh :)