mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 13:56:45 +00:00 
			
		
		
		
	
							parent
							
								
									7998583a7b
								
							
						
					
					
						commit
						143ee387cc
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -42,6 +42,9 @@ namespace MWScript | |||
|                 { | ||||
|                     MWWorld::Ptr ptr = R()(runtime); | ||||
| 
 | ||||
|                     if (!ptr.getRefData().isEnabled()) | ||||
|                         return; | ||||
| 
 | ||||
|                     std::string group = runtime.getStringLiteral (runtime[0].mInteger); | ||||
|                     runtime.pop(); | ||||
| 
 | ||||
|  | @ -69,6 +72,9 @@ namespace MWScript | |||
|                 { | ||||
|                     MWWorld::Ptr ptr = R()(runtime); | ||||
| 
 | ||||
|                     if (!ptr.getRefData().isEnabled()) | ||||
|                         return; | ||||
| 
 | ||||
|                     std::string group = runtime.getStringLiteral (runtime[0].mInteger); | ||||
|                     runtime.pop(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue