forked from cacklingfiend/lignumis
		
	AAI Loaders: Don't load code when mode is set to graphics only
This commit is contained in:
		
							parent
							
								
									731deb2a62
								
							
						
					
					
						commit
						6ea9a3f8e5
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| local Recipe = require("__cf-lib__/data/Recipe") | ||||
| 
 | ||||
| if not mods["aai-loaders"] then return end | ||||
| if settings.startup["aai-loaders-mode"].value == "graphics-only" then return end | ||||
| 
 | ||||
| local recipe = Recipe:new("aai-loader") | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,6 +2,7 @@ local Recipe = require("__cf-lib__/data/Recipe") | |||
| local Technology = require("__cf-lib__/data/Technology") | ||||
| 
 | ||||
| if not mods["aai-loaders"] then return end | ||||
| if settings.startup["aai-loaders-mode"].value == "graphics-only" then return end | ||||
| 
 | ||||
| local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann