Skip to content

Commit

Permalink
refactor: added pragmas to deleteGameCommand procedure
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 36d70d78c19c1ac0a07a0ff728eef73fcdc84638e8e3d7c6beeadd827d968acd
  • Loading branch information
thindil committed Jan 5, 2024
1 parent 7717ea1 commit 8801b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nim/src/ui/mainmenucommands.nim
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ proc showHallOfFameCommand(clientData: cint; interp: PInterp; argc: cint;
return tclOk

proc deleteGameCommand(clientData: cint; interp: PInterp; argc: cint;
argv: openArray[cstring]): TclResults =
argv: openArray[cstring]): TclResults {.sideEffect, raises: [], tags: [].} =
tclSetVar(varName = "deletesave", newValue = $argv[1])
showQuestion(question = "Are you sure you want delete this savegame?",
res = "deletesave", inGame = false)
Expand Down

0 comments on commit 8801b95

Please sign in to comment.