Update AMBuildScript some more.
This commit is contained in:
		
							parent
							
								
									b44b727d0b
								
							
						
					
					
						commit
						20ca71bfc9
					
				@ -68,8 +68,6 @@ class DHooksConfig(object):
 | 
				
			|||||||
      self.sm_root = builder.options.sm_path
 | 
					      self.sm_root = builder.options.sm_path
 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
      self.sm_root = ResolveEnvPath('SOURCEMOD17', 'sourcemod-1.7')
 | 
					      self.sm_root = ResolveEnvPath('SOURCEMOD17', 'sourcemod-1.7')
 | 
				
			||||||
      if not self.sm_root:
 | 
					 | 
				
			||||||
        self.sm_root = ResolveEnvPath('SMCENTRAL', 'sourcemod-central')
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if not self.sm_root or not os.path.isdir(self.sm_root):
 | 
					    if not self.sm_root or not os.path.isdir(self.sm_root):
 | 
				
			||||||
      raise Exception('Could not find a source copy of Sourcemod')
 | 
					      raise Exception('Could not find a source copy of Sourcemod')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user