tpott/butter-star — pull request #8 by rohanhalliyal (2013-05-01 23:20:54+00:00)
Title: Feature/dont send idle client events

dont send idle client events. Created a set() method for controlsEvent which sets a flag every time a field is changed. Only send the controlsEvent to the server if the controlsEvent fields have been changed. (Do not reset the flag if vacuum is on since player can be moving without pressing any move keys and just holding down the vacuum button (-> i.e. without the controlsEvent changing))