Skip to content

Commit

Permalink
Added some more documentation to the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOctopus committed Jun 18, 2022
1 parent 560b6b9 commit a609422
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/nl_curios/scripts/source/nl_curios_mcm_advanced.psc
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,14 @@ state misc_input_renamepage

event OnInputAcceptST(string state_id, string str)
RenameModule(str)
; I call the following functions afterwards because
; the module/page name has changed whilst the user
; is still inside the MCM menu

; This means that we A) have to redraw the pagelist
ForcePageListReset()
; And B) we have to redraw the page title
; (Which can be accomplished by going to the same page)
GoToPage(str)
endevent
endstate
Expand Down

0 comments on commit a609422

Please sign in to comment.