Make UNDO_REMINDER fire only once
This commit is contained in:
parent
b479d6f7ac
commit
df2e717b24
1 changed files with 17 additions and 6 deletions
|
@ -52,12 +52,23 @@
|
|||
#enddef
|
||||
|
||||
#define UNDO_REMINDER
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _"Undo"
|
||||
image=wesnoth-icon.png
|
||||
message= _"Don’t forget, you can press <b>u</b> to undo most things if you make a mistake."
|
||||
[/message]
|
||||
[if]
|
||||
[variable]
|
||||
name=undo_option
|
||||
equals=yes
|
||||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _"Undo"
|
||||
image=wesnoth-icon.png
|
||||
message= _"Don’t forget, you can press <b>u</b> to undo most things if you make a mistake."
|
||||
[/message]
|
||||
|
||||
{CLEAR_VARIABLE undo_option}
|
||||
[/then]
|
||||
[else] [/else]
|
||||
[/if]
|
||||
|
||||
[allow_undo][/allow_undo]
|
||||
#enddef
|
||||
|
|
Loading…
Add table
Reference in a new issue