mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 23:46:03 +01:00
chore(web): move skill check into dev draw tools
This commit is contained in:
@@ -10,7 +10,7 @@ interface CustomGameDifficulty {
|
||||
speedMultiplier: number;
|
||||
}
|
||||
|
||||
type GameDifficulty = 'easy' | 'medium' | 'hard' | CustomGameDifficulty;
|
||||
export type GameDifficulty = 'easy' | 'medium' | 'hard' | CustomGameDifficulty;
|
||||
|
||||
export interface SkillCheckProps {
|
||||
angle: number;
|
||||
@@ -28,13 +28,6 @@ const difficultyOffsets = {
|
||||
hard: 25,
|
||||
};
|
||||
|
||||
debugData([
|
||||
{
|
||||
action: 'startSkillCheck',
|
||||
data: ['hard'],
|
||||
},
|
||||
]);
|
||||
|
||||
const SkillCheck: React.FC = () => {
|
||||
const [visible, setVisible] = useState(false);
|
||||
const dataRef = useRef<GameDifficulty | GameDifficulty[] | null>(null);
|
||||
|
||||
Reference in New Issue
Block a user