From 0683fb8cff146c8b5f5ea1af3781341beca45ab9 Mon Sep 17 00:00:00 2001
From: luigi budd <4997-luigi-budd@users.noreply.git.do.srb2.org>
Date: Sat, 22 Mar 2025 18:59:59 +0000
Subject: [PATCH] Update file lua_baselib.c

---
 src/lua_baselib.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/lua_baselib.c b/src/lua_baselib.c
index 0422191ecd..1ffa3968be 100644
--- a/src/lua_baselib.c
+++ b/src/lua_baselib.c
@@ -722,12 +722,6 @@ static int lib_pSpawnLockOn(lua_State *L)
 		visual->flags2 |= MF2_DONTDRAW;
 		visual->drawonlyforplayer = player; // Hide it from the other player in splitscreen, and yourself when spectating
 		P_SetMobjStateNF(visual, state);
-
-		// This is also handled in P_SceneryThinker, but we want to set it here
-		// so we dont get any weird interp. lag as it properly scales -luigi budd
-		P_SetScale(visual, lockon->scale, false);
-		visual->destscale = lockon->destscale;
-		visual->old_scale = lockon->old_scale;
 	}
 	return 0;
 }
-- 
GitLab