Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed typo in the screenshot function (Bug #874367)
  • Loading branch information
Medo42 committed Oct 14, 2011
1 parent 4a71ff4 commit 7a8bcde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/gg2/Scripts/Graphics/takeScreenshot.gml
Expand Up @@ -10,7 +10,7 @@
timestamp = timestamp + string(date_get_hour(currentDate));
if (date_get_minute(currentDate) < 10) { timestamp = timestamp + "0"; }
timestamp = timestamp + string(date_get_minute(currentDate));
if (date_get_second(currentDate) < 10) { timestamp = timestamp = "0"; }
if (date_get_second(currentDate) < 10) { timestamp = timestamp + "0"; }
timestamp = timestamp + string(date_get_second(currentDate));
while (file_exists("Screenshots/" + timestamp + ".png")) {
timestamp = timestamp + "0";
Expand Down

0 comments on commit 7a8bcde

Please sign in to comment.