Update cl_init.lua

This commit is contained in:
[TW]Rain_Bob 2024-02-15 19:16:31 +08:00 committed by GitHub
parent f75bd7acee
commit 9de5b7bbb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,9 +27,9 @@ GM.ContextMenuOpen=no
--Thanks for Sulfito reporting i used wrong var!
hook.Add("Think","No you dumbass",function()
if(GAMEMODE.SpawnMenuOpen~=no)then
GM.SpawnMenuOpen=no
GAMEMODE.SpawnMenuOpen=no
elseif(GAMEMODE.ContextMenuOpen~=no)then
GM.ContextMenuOpen=no
GAMEMODE.ContextMenuOpen=no
end
end)
function GM:CanProperty(ply, property, ent)