From f5770cd4e08ac9d9b645ac58eb696dc898105f96 Mon Sep 17 00:00:00 2001 From: Simon Kellet Date: Wed, 31 Jul 2024 20:35:55 +0100 Subject: [PATCH] ops --- player.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player.lua b/player.lua index b4d9235..12f9762 100644 --- a/player.lua +++ b/player.lua @@ -1,6 +1,6 @@ Player = Object:extend() -cos = math.cos -sin = math.sin --optimisation +local cos = math.cos +local sin = math.sin --optimisation -- Constructor for the Player class function Player:new(p, x, y, health, image, speed)