From a61df3888e726938f9f6b3af9cb4c8084907dfc6 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Sun, 12 Mar 2017 04:40:09 +0000 Subject: Allow important param injects to persist across all handler messages --- src/Game.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Game.php') diff --git a/src/Game.php b/src/Game.php index 3a62f3e..c2141ce 100644 --- a/src/Game.php +++ b/src/Game.php @@ -26,10 +26,12 @@ class Game public function sendOpeningMessage() { $message = $this->handler->renderOpeningMessage(); + sleep(1); + $message2 = $this->handler->renderOpeningMessage(); $important = $this->handler->returnImportant('inject'); - var_dump($message, $important); + var_dump($message, $important, $message2); } } -- cgit v1.2.3