mirror of
				https://gitlab.com/rautars/weather_pack.git
				synced 2025-10-31 00:25:32 +01:00 
			
		
		
		
	added add heigth limit for weather visibility
This commit is contained in:
		| @@ -191,7 +191,7 @@ heavy_rain.in_area = function(position) | |||||||
| 		return false | 		return false | ||||||
| 	end | 	end | ||||||
|  |  | ||||||
| 	if position.y > -10 then | 	if position.y > -10 and position.y < 120 then | ||||||
| 		return true | 		return true | ||||||
| 	end | 	end | ||||||
| 	return false | 	return false | ||||||
|   | |||||||
| @@ -144,7 +144,7 @@ light_rain.in_area = function(position) | |||||||
| 		return false | 		return false | ||||||
| 	end | 	end | ||||||
|  |  | ||||||
| 	if position.y > -10 then | 	if position.y > -10 and position.y < 120 then | ||||||
| 		return true | 		return true | ||||||
| 	end | 	end | ||||||
| 	return false | 	return false | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								rain.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								rain.lua
									
									
									
									
									
								
							| @@ -147,7 +147,7 @@ rain.in_area = function(position) | |||||||
| 		return false | 		return false | ||||||
| 	end | 	end | ||||||
|  |  | ||||||
| 	if position.y > -10 then | 	if position.y > -10 and position.y < 120 then | ||||||
| 		return true | 		return true | ||||||
| 	end | 	end | ||||||
| 	return false | 	return false | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user