Client Fixes Sept 11th (#9030)

* fix issues with loading screen on static pages

* another try at timezone issue

* interval -> timeout

* remove references to user.fns
This commit is contained in:
Matteo Pagliazzi
2017-09-12 18:39:33 +02:00
committed by GitHub
parent 55e62cdc79
commit de67c130fa
6 changed files with 30 additions and 23 deletions

View File

@@ -283,17 +283,6 @@ export default {
this.$store.state.spellOptions.castingSpell = false;
this.potionClickMode = false;
// @TODO: We no longer wrap the users (or at least we should not), but some common code
// expects the user to be wrapped. For now, just manually set. But we need to fix the common code
this.user.fns = {
crit: (...args) => {
return crit(this.user, ...args);
},
updateStats: (...args) => {
return updateStats(this.user, ...args);
},
};
this.spell.cast(this.user, target);
// User.save(); // @TODO: