Update player.lua

fix variable spelling mistake
This commit is contained in:
Divran 2023-11-23 15:46:51 +01:00 committed by GitHub
parent ec7e2d266e
commit 0fa4d00f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]