mirror of
				https://github.com/APercy/airutils
				synced 2025-10-31 04:03:06 +01:00 
			
		
		
		
	fixed copilot menu
This commit is contained in:
		
							parent
							
								
									ad6899661c
								
							
						
					
					
						commit
						3a3ac1c36e
					
				| @ -856,7 +856,12 @@ function airutils.on_rightclick(self, clicker) | ||||
|     --========================= | ||||
|     elseif name == copilot_name then | ||||
|         if self._command_is_given then | ||||
|             self._custom_pilot_formspec(name)  --open the plane menu for the copilot | ||||
|             --formspec of the plane | ||||
|             if not self._custom_pilot_formspec then | ||||
|                 airutils.pilot_formspec(name) | ||||
|             else | ||||
|                 self._custom_pilot_formspec(name) | ||||
|             end | ||||
|         else | ||||
|             airutils.pax_formspec(name) | ||||
|         end | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user