Don't allow committing score if co-op points don't match.

This commit is contained in:
Patrick Fairbank
2015-05-31 12:52:46 -07:00
parent 818fe7c6c6
commit 1aa206ea60
3 changed files with 19 additions and 1 deletions

View File

@@ -20,6 +20,11 @@ var CheesyWebsocket = function(path, events) {
}
}
// Insert an event to show a dialog when the server wishes it.
events.dialog = function(event) {
alert(event.data);
}
// Insert an event to allow the server to force-reload the client for any display.
events.reload = function(event) {
location.reload();