1
0
Fork 0

Revert "Adapting to new screen-shot command"

This reverts commit 1b7918f45099275a6c0bb340f3b525b65c9dae9d.
This commit is contained in:
ThorstenB 2011-06-13 00:59:34 +02:00
parent 3e3ecb49e2
commit c45d7d5665

View file

@ -58,7 +58,12 @@
<command>nasal</command>
<script>
gui.popdown();
fgcommand("screen-capture");
var success = fgcommand("screen-capture");
var path = getprop("/sim/paths/screenshot-last");
if (success)
gui.popupTip("Screenshot written to '" ~ path ~ "'");
else
gui.popupTip("Error writing screenshot '" ~ path ~ "'");
</script>
</binding>
</item>
@ -563,7 +568,7 @@
</binding>
</item>
<item>
<item>
<label>Reload HUD</label>
<binding>
<command>reinit</command>