mirror of
				https://github.com/bra1n/townsquare.git
				synced 2025-10-21 16:55:12 +00:00 
			
		
		
		
	stop pronouns being set to null when cacelling prompt
This commit is contained in:
		
							parent
							
								
									6ad516588c
								
							
						
					
					
						commit
						2a028bb7cd
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
					@ -247,10 +247,9 @@ export default {
 | 
				
			||||||
    changePronouns() {
 | 
					    changePronouns() {
 | 
				
			||||||
      if (this.session.isSpectator && this.player.id !== this.session.playerId)
 | 
					      if (this.session.isSpectator && this.player.id !== this.session.playerId)
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
      const pronouns = prompt(
 | 
					      const pronouns =
 | 
				
			||||||
        "Player preferred pronouns",
 | 
					        prompt("Player preferred pronouns", this.player.pronouns) ||
 | 
				
			||||||
        this.player.pronouns
 | 
					        this.player.pronouns;
 | 
				
			||||||
      );
 | 
					 | 
				
			||||||
      this.updatePlayer("pronouns", pronouns, true);
 | 
					      this.updatePlayer("pronouns", pronouns, true);
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    toggleStatus() {
 | 
					    toggleStatus() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue