online multiplayer chess game (note server currently down)
Diffstat (limited to 'Utils.gd')
-rw-r--r--Utils.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utils.gd b/Utils.gd
index 98e7147..9b6d7b2 100644
--- a/Utils.gd
+++ b/Utils.gd
@@ -50,7 +50,7 @@ func get_fen() -> String:
var enpassants := ""
for pawn in Globals.pawns:
- if pawn.twostepfirstmove and pawn.just_set:
+ if pawn.just_double_stepped and pawn.just_set:
enpassants += Utils.to_algebraic(pawn.real_position + (Vector2.DOWN * pawn.whiteint))
return (
"%s %s %s %s %s %s"