Permalink
Browse files

Fixed typo in the screenshot function (Bug #874367)

  • Loading branch information...
1 parent 4a71ff4 commit 7a8bcdea0f742e8efa2d4fbc34fc10c42ef6ecb0 @Medo42 committed Oct 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/gg2/Scripts/Graphics/takeScreenshot.gml
View
2 Source/gg2/Scripts/Graphics/takeScreenshot.gml
@@ -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";

0 comments on commit 7a8bcde

Please sign in to comment.