From 0fa4d00f11ed58b4b1ac26a8f34dcf9727a8d7e7 Mon Sep 17 00:00:00 2001 From: Divran Date: Thu, 23 Nov 2023 15:46:51 +0100 Subject: [PATCH] Update player.lua fix variable spelling mistake --- lua/entities/gmod_wire_expression2/core/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/entities/gmod_wire_expression2/core/player.lua b/lua/entities/gmod_wire_expression2/core/player.lua index fcbbd154..91c2c630 100644 --- a/lua/entities/gmod_wire_expression2/core/player.lua +++ b/lua/entities/gmod_wire_expression2/core/player.lua @@ -920,7 +920,7 @@ end [deprecated = "Use the playerSpawn event instead"] e2function void runOnSpawn(number activate) -- If 1, make the chip run on a player respawning. Not joining. - RespawnAlert[self.entity] = active~=0 and true or nil + RespawnAlert[self.entity] = activate~=0 and true or nil end [nodiscard, deprecated = "Use the playerSpawn event instead"]