Skip to content

Commit

Permalink
Added version tick to make sure that Tracking box works
Browse files Browse the repository at this point in the history
  • Loading branch information
Verteiron committed Jul 1, 2014
1 parent 3f77c8d commit 44dbe27
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dist/Data/scripts/Source/vMYC_MCMQuestScript.psc
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,19 @@ Int[] _iAlcoveResetOption
Int _iShowDebugOption

Int Function GetVersion()
return 3 ; Default version
return 4 ; Default version
EndFunction

Event OnVersionUpdate(int a_version)
If (a_version >= 2 && CurrentVersion < 2)
;Debug.Trace("MYC/MCM: Updating script to version 2...")
Debug.Trace("MYC/MCM: Updating script to version 2...")
FilterVoiceTypes(VOICETYPE_NOFILTER)
ElseIf (a_version >= 3 && CurrentVersion < 3)
;Debug.Trace("MYC/MCM: Updating script to version 3...")
Debug.Trace("MYC/MCM: Updating script to version 3...")
_iMagicSchoolOptions = New Int[6]
ElseIf (a_version >= 4 && CurrentVersion < 4)
Debug.Trace("MYC/MCM: Updating script to version 4...")
OnConfigInit()
EndIf

EndEvent
Expand Down

0 comments on commit 44dbe27

Please sign in to comment.