Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Optimize hitmarker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak authored Aug 20, 2020
1 parent d03e5c7 commit 9b53463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netcon_stuff/hitmarker/hitmarker.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const socket = net.connect(port, '127.0.0.1', async () => {
clearTimeout(timeout);
ticksLeft = Infinity;

socket.write(`cl_crosshaircolor 5; cl_crosshaircolor_r 0; cl_crosshaircolor_g 255; cl_crosshaircolor_b 0\n${COMMAND}\n`);
socket.write(`cl_crosshaircolor 5; cl_crosshaircolor_r 0; cl_crosshaircolor_g 255; cl_crosshaircolor_b 0\n`);
} else if (processedLine === 'hitmarker_off') {
ticksLeft = 1;
} else {
Expand Down

0 comments on commit 9b53463

Please sign in to comment.