From c02903b49c64b4c141b6341a43355d8177339ab1 Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Fri, 20 Sep 2019 18:33:48 +0300 Subject: [PATCH] Small fix --- src/command.cr | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/command.cr b/src/command.cr index 739f2fc..9f4dca3 100644 --- a/src/command.cr +++ b/src/command.cr @@ -83,10 +83,9 @@ class RestoreCrystalCommand < Command RESTORE_VALUE = 30 REST_TIME = 5 - @target_tile : Tile | Nil + @target_tile : Tile | Nil = nil def initialize(@point : Point) - @target_tile = nil end def start(world : World) : Int32