HabitRPG/habitrpg — pull request #3970 by Alys (2014-09-02 20:20:51+00:00)
Title: allow new tag to have same UUID on client and server - fixes https://github.com/HabitRPG/habitrpg/issues/2856

The problem was that addTag() was being run once on the client and then again on the server, and each time it was assigning its own (different) UUID.

This change sets the UUID before addTag() is called.