mirror of
				https://github.com/LDDestroier/CC/
				synced 2025-10-31 07:22:59 +00:00 
			
		
		
		
	Update tron
This commit is contained in:
		
							
								
								
									
										6
									
								
								tron
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tron
									
									
									
									
									
								
							| @@ -682,9 +682,6 @@ local setDirection = function(keylist, p, checkDir) | ||||
| 	end | ||||
| end | ||||
|  | ||||
| -- to counter P2's ability to turn twice in one tick | ||||
| local dlDirection | ||||
|  | ||||
| local game = function() | ||||
| 	local outcome | ||||
| 	local p, np | ||||
| @@ -696,7 +693,7 @@ local game = function() | ||||
| 			setDirection(keysDown, p) | ||||
| 			setDirection(netKeysDown, np) | ||||
| 		else | ||||
| 			setDirection(keysDown, p, dlDirection) | ||||
| 			setDirection(keysDown, p) | ||||
| 		end | ||||
| 		 | ||||
| 		if keysDown[control.lookLeft] then | ||||
| @@ -766,7 +763,6 @@ local networking = function() | ||||
| 				elseif msg.gameID == gamename then | ||||
| 					if not isHost then | ||||
| 						player = msg.player | ||||
| 						dlDirection = player[you].direction | ||||
| 						trail = msg.trail | ||||
| 						deadGuys = msg.deadGuys | ||||
| 					elseif type(msg.keysDown) == "table" then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 LDDestroier
					LDDestroier