mirror of
https://github.com/YouHaveTrouble/GuildMaster.git
synced 2026-05-12 06:26:59 +00:00
don't let new players dismiss rincewind. he really wants to join.
This commit is contained in:
@@ -103,6 +103,7 @@ export default defineComponent({
|
|||||||
this.$emit("recruitActionTaken", adventurer);
|
this.$emit("recruitActionTaken", adventurer);
|
||||||
},
|
},
|
||||||
dismissAdventurer() {
|
dismissAdventurer() {
|
||||||
|
if (Object.keys(this.adventurers).length <= 0) return;
|
||||||
this.currentlyForHire = null;
|
this.currentlyForHire = null;
|
||||||
this.$emit("recruitActionTaken", null);
|
this.$emit("recruitActionTaken", null);
|
||||||
window.localStorage.removeItem("currentlyForHire");
|
window.localStorage.removeItem("currentlyForHire");
|
||||||
|
|||||||
Reference in New Issue
Block a user