From e4ba688e9240d2f6b53ef5d0195abb1fc10001ca Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Sun, 17 Sep 2023 19:59:36 +0200 Subject: [PATCH] Fix context nil access --- lib/game_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/game_client.rb b/lib/game_client.rb index c029513..5af13dd 100644 --- a/lib/game_client.rb +++ b/lib/game_client.rb @@ -39,7 +39,7 @@ class GameClient end def on_tick - call_hook(:tick, nil) + call_hook(:tick, Context.new(nil)) end def on_auth_on