Fix copy error in remote_only

This commit is contained in:
Cooldude2606
2025-01-13 20:37:27 +00:00
parent 3e6ec6a867
commit e1c1fa2767

View File

@@ -82,7 +82,7 @@ authorities.character_only =
--- If a command has the flag "remote_only" then the command can only be used inside of remote view
authorities.remote_only =
add(function(player, command)
if command.flags.character_only and player.controller_type ~= defines.controllers.remote then
if command.flags.remote_only and player.controller_type ~= defines.controllers.remote then
return deny{ "exp-commands-authorities.remote-only" }
else
return allow()