mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-28 17:56:42 +00:00 
			
		
		
		
	fixed a bug that prevented local scripts from running
This commit is contained in:
		
							parent
							
								
									7516e4ca53
								
							
						
					
					
						commit
						b94e09e030
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -38,7 +38,7 @@ void OMW::Engine::executeLocalScripts() | |||
|         mEnvironment.mWorld->getLocalScripts().begin()); | ||||
|         iter!=mEnvironment.mWorld->getLocalScripts().end(); ++iter) | ||||
|     { | ||||
|         if (!mIgnoreLocalPtr.isEmpty() && mIgnoreLocalPtr!=iter->second) | ||||
|         if (mIgnoreLocalPtr.isEmpty() || mIgnoreLocalPtr!=iter->second) | ||||
|         { | ||||
|             MWScript::InterpreterContext interpreterContext (mEnvironment, | ||||
|                 &iter->second.getRefData().getLocals(), MWWorld::Ptr (iter->second)); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue