add other player
This commit is contained in:
		
							parent
							
								
									a6a38acd08
								
							
						
					
					
						commit
						2d43bb9288
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -27,6 +27,9 @@ function game() { | |||
| 			console.log("Connected as id ",playerId); | ||||
| 			Inp.player=player; | ||||
| 			Renderer.AddPlayer(player) | ||||
| 			players.forEach((p) => { | ||||
| 				Renderer.AddPlayer(p) | ||||
| 			}) | ||||
| 		} | ||||
| 	} | ||||
| 	else | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue