Skip to content

Commit

Permalink
Fixed compilation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOctopus committed Jul 5, 2022
1 parent 4b323a7 commit 96babf2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
Binary file modified examples/nl_mcm_simple_template/nl_mcm_simple_template.esp
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ Scriptname nl_mcm_template_page1 extends nl_mcm_module
; just remember to update the .esp quest script too

; The mod name is set in the Creation Kit on nl_mcm
; The landing page is set in the Creation Kit on nl_mcm
; The persistent mcm preset path is set in the Creation Kit on nl_mcm
; The splash screen is set in the Creation Kit on nl_mcm
; The page name is set in the Creation kit on this script
; PageName <- The name of the page
; PageName <- The name of the page
; PageOrder <- The order in which the page will be displayed
; a lower number means it will display higher in the list

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ Scriptname nl_mcm_template_page2 extends nl_mcm_module
; just remember to update the .esp quest script too

; The mod name is set in the Creation Kit on nl_mcm
; The page name is set in the Creation kit
; PageName <- The name of the page
; The landing page is set in the Creation Kit on nl_mcm
; The persistent mcm preset path is set in the Creation Kit on nl_mcm
; The splash screen is set in the Creation Kit on nl_mcm
; The page name is set in the Creation kit on this script
; PageName <- The name of the page
; PageOrder <- The order in which the page will be displayed
; a lower number means it will display higher in the list

Expand Down
4 changes: 0 additions & 4 deletions main/scripts/source/nl_mcm_module.psc
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ auto state _inactive
event _OnPageEvent(string state_name, int event_id, float f, string str)
Guard()
endevent

int function GetMCMID()
Guard()
endfunction

string function GetCommonStore(bool lock)
Guard()
Expand Down
5 changes: 0 additions & 5 deletions main/source/nl_mcm_module.psc
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,6 @@ auto state _inactive
event _OnPageEvent(string state_name, int event_id, float f, string str)
DEBUG_MSG("_OnPageEvent has been called in an invalid state.")
endevent

int function GetMCMID()
DEBUG_MSG("GetMCMID has been called in an invalid state.")
return ERROR
endfunction

string function GetCommonStore(bool lock)
DEBUG_MSG("GetCommonStore has been called in an invalid state.")
Expand Down

0 comments on commit 96babf2

Please sign in to comment.