Skip to content

Instantly share code, notes, and snippets.

@RadekMolenda
Created February 21, 2016 21:45
Show Gist options
  • Save RadekMolenda/8d44add32def02ab9f54 to your computer and use it in GitHub Desktop.
Save RadekMolenda/8d44add32def02ab9f54 to your computer and use it in GitHub Desktop.
diff --git a/lib/swarmsimulatorbot/cli.ex b/lib/swarmsimulatorbot/cli.ex
index aa5b2eb..f76267a 100644
--- a/lib/swarmsimulatorbot/cli.ex
+++ b/lib/swarmsimulatorbot/cli.ex
@@ -8,6 +8,7 @@ defmodule Swarmsimulatorbot.Cli do
end
def init(_) do
+ Swarmsimulatorbot.load_game
Process.send_after(self(), :tick, @tick)
{:ok, nil}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment