Skip to content

Commit

Permalink
Set Removed to true when player fails a Join Filter (#1572)
Browse files Browse the repository at this point in the history
  • Loading branch information
EasternBloxxer authored Aug 5, 2024
1 parent 59cedc5 commit 67a30b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MainModule/Server/Core/Process.luau
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,7 @@ return function(Vargs, GetEnv)
if success and res == false then
p:Kick(`::Adonis:: {message or Settings.CustomJoinFilterKickMessage or "You are not allowed to join this experience"}`)
Logs.AddLog(server.Logs.Script, `{tostring(p)} failed the join filter {filter}`)
Removed = true
break
elseif not success then
Logs.AddLog(server.Logs.Errors, `{filter} failed for {res}`)
Expand Down

0 comments on commit 67a30b1

Please sign in to comment.