Only auto aim and healthbars
This commit is contained in:
1 parent
54c6327ac7
commit
a914bd74fe
14 files changed
+95
-89
No files matched your search
@@ -32,11 +32,10 @@ final class GameInputController extends Controller
|
||||
'keys' => $keys,
|
||||
'aim' => $aim,
|
||||
'fire' => (bool) $request->input('fire', false),
|
||||
'autoAim' => (bool) $request->input('autoAim', false),
|
||||
];
|
||||
|
||||
Redis::rpush(sprintf('game:in:%s', $room), json_encode($frame, JSON_THROW_ON_ERROR));
|
||||
|
||||
return response()->json(['ok' => true]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user