I use several computers to play MFF. When logging in to an account and clicking the donkey, the gained XP and products are correctly put in the "donkey info panel" and the GoToDonkey-Icon vanishes. But if I later login to that account from another computer (where the logDonkey variable isn't filled with an entry for today), clicking the donkey only displays the error message "you have already visited the donkey today".
This patch writes a dummy entry (zero points, no products) into logDonkey in the latter case and hides the GoToDonkey-Icon. Thus, the disturbing flashing GoToDonkey-Icon is disabled for today.
Further the behavior for clicking the donkey without having it already purchased has been changed: The user is now shown the "purchase donkey dialog" instead of an empty "donkey info panel", which makes more sense in my opinion.
I use several computers to play MFF. When logging in to an account and clicking the donkey, the gained XP and products are correctly put in the "donkey info panel" and the GoToDonkey-Icon vanishes. But if I later login to that account from another computer (where the logDonkey variable isn't filled with an entry for today), clicking the donkey only displays the error message "you have already visited the donkey today". This patch writes a dummy entry (zero points, no products) into logDonkey in the latter case and hides the GoToDonkey-Icon. Thus, the disturbing flashing GoToDonkey-Icon is disabled for today.
Further the behavior for clicking the donkey without having it already purchased has been changed: The user is now shown the "purchase donkey dialog" instead of an empty "donkey info panel", which makes more sense in my opinion.