forked from nikita/muzika-gromche
				
			Quick Fix: Object initialization can be simplified (IDE0017)
This commit is contained in:
		
							parent
							
								
									c8f1ba90e3
								
							
						
					
					
						commit
						94cb3eecde
					
				|  | @ -184,8 +184,10 @@ namespace MuzikaGromche | ||||||
|         [HarmonyPrefix] |         [HarmonyPrefix] | ||||||
|         public static void DoNotStopTheMusicPrefix(JesterAI __instance, out State __state) |         public static void DoNotStopTheMusicPrefix(JesterAI __instance, out State __state) | ||||||
|         { |         { | ||||||
|             __state = new State(); |             __state = new State | ||||||
|             __state.prevStateindex = __instance.previousState; |             { | ||||||
|  |                 prevStateindex = __instance.previousState | ||||||
|  |             }; | ||||||
|             if (__instance.currentBehaviourStateIndex == 2 && __instance.previousBehaviourStateIndex != 2) |             if (__instance.currentBehaviourStateIndex == 2 && __instance.previousBehaviourStateIndex != 2) | ||||||
|             { |             { | ||||||
|                 // if just popped out |                 // if just popped out | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue