replace gamefinshed with gamefinished
This commit is contained in:
		
							parent
							
								
									a8fc8b139d
								
							
						
					
					
						commit
						73a81edcbb
					
				| @ -196,7 +196,7 @@ def check_anwser(): | ||||
|     member.results = results | ||||
|     if game.has_finished(): | ||||
|         json_game_results = game.generate_game_results() | ||||
|         APP.socketio_app.emit("gamefinshed", json_game_results, room="game."+game.game_id) | ||||
|         APP.socketio_app.emit("gamefinished", json_game_results, room="game."+game.game_id) | ||||
|         del game | ||||
|     response = {"error": 0} | ||||
|     return response | ||||
|  | ||||
| @ -195,7 +195,7 @@ function initSock(){ | ||||
|         console.log(username); | ||||
|     }); | ||||
|      | ||||
|     socket.on("gamefinshed", (finalResults) => { | ||||
|     socket.on("gamefinished", (finalResults) => { | ||||
|         hide("emotion_and_culprit_choices"); | ||||
|         console.log(finalResults); | ||||
|         for (const player in finalResults["player"]){ | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user