Skip to content

Commit

Permalink
Fix C++ use induced bracket blunder
Browse files Browse the repository at this point in the history
  • Loading branch information
Solirs committed Jul 14, 2023
1 parent fe3bb64 commit 8d17d60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions freefang/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ def distribute_roles(self):

def townmessage(self, headers, game, connection):

if (not headers.sender.alive){
if (not headers.sender.alive):
return 1;
}

for i in self.players:
fn.send_message(headers.sender.name, headers.message, i.connection) # Send it to all players

def werewolfmessage(self, headers, game, connection):
if (not headers.sender.alive){
if (not headers.sender.alive):
return 1;
}

for i in self.werewolves:
fn.send_message(headers.sender.name, headers.message, i.connection) # Send it to all werewolves

Expand Down

0 comments on commit 8d17d60

Please sign in to comment.