Skip to content

Commit

Permalink
Small change in generation tool
Browse files Browse the repository at this point in the history
  • Loading branch information
SIsilicon committed Jan 6, 2024
1 parent 017125c commit 94784af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/tools/generation_tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class DrawLineTool extends GeneratorTool {
tick = function* (self: DrawLineTool, player: Player, session: PlayerSession) {
if (self.baseTick(player, session)) return;

let lineStart = self.posStart.get(session)[0];
let lineStart = self.getFirstPos(session);
const lineEnd = self.traceForPos(player);
const length = lineEnd.sub(lineStart).length;
if (length > 32) {
Expand Down

0 comments on commit 94784af

Please sign in to comment.