mirror of
				https://github.com/LDDestroier/CC/
				synced 2025-10-31 07:22:59 +00:00 
			
		
		
		
	Update tron.lua
This commit is contained in:
		
							
								
								
									
										4
									
								
								tron.lua
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								tron.lua
									
									
									
									
									
								
							| @@ -982,8 +982,8 @@ local networking = function() | |||||||
|                     return gameID |                     return gameID | ||||||
|  |  | ||||||
| 				elseif msg.gameID == gamename then | 				elseif msg.gameID == gamename then | ||||||
| 					if type(msg.player) == "table" then |  | ||||||
| 					if not isHost then | 					if not isHost then | ||||||
|  | 						if type(msg.player) == "table" then | ||||||
| 							player[nou].name = msg.name or player[nou].name | 							player[nou].name = msg.name or player[nou].name | ||||||
| 							player = msg.player | 							player = msg.player | ||||||
| 							if msg.trail then | 							if msg.trail then | ||||||
| @@ -993,6 +993,7 @@ local networking = function() | |||||||
| 							end | 							end | ||||||
| 							deadGuys = msg.deadGuys | 							deadGuys = msg.deadGuys | ||||||
| 							os.queueEvent("move_tick") | 							os.queueEvent("move_tick") | ||||||
|  | 						end | ||||||
| 					elseif type(msg.keysDown) == "table" then | 					elseif type(msg.keysDown) == "table" then | ||||||
| 						netKeysDown = msg.keysDown | 						netKeysDown = msg.keysDown | ||||||
| 						netLastDirectionPressed = msg.lastDir | 						netLastDirectionPressed = msg.lastDir | ||||||
| @@ -1000,7 +1001,6 @@ local networking = function() | |||||||
| 						player[nou].name = msg.name or player[nou].name | 						player[nou].name = msg.name or player[nou].name | ||||||
| 					end | 					end | ||||||
| 				end | 				end | ||||||
| 				end |  | ||||||
|  |  | ||||||
| 			end | 			end | ||||||
| 		end | 		end | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 LDDestroier
					LDDestroier