PlayerChangedFloor doesn't contain the right map area
This commit is contained in:
		
							parent
							
								
									da693b9c3c
								
							
						
					
					
						commit
						7a37bb502e
					
				| @ -185,7 +185,7 @@ pub fn update_player_position(id: ClientId, | ||||
|             GameMessage::PlayerWalking(p) => {client.x = p.x; client.z = p.z;}, | ||||
|             GameMessage::PlayerRunning(p) => {client.x = p.x; client.z = p.z;}, | ||||
|             GameMessage::PlayerWarped(p) => {client.x = p.x; client.y = p.y;}, | ||||
|             GameMessage::PlayerChangedFloor(p) => {client.area = MapArea::from_value(&room.mode.episode(), p.map).ok();}, | ||||
|             // GameMessage::PlayerChangedFloor(p) => {client.area = MapArea::from_value(&room.mode.episode(), p.map).ok();},
 | ||||
|             GameMessage::InitializeSpeechNpc(p) => {client.x = p.x; client.z = p.z;} | ||||
|             _ => {}, | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user