Skip to content

Commit

Permalink
Update FoxHandler.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaosRifle authored Sep 17, 2024
1 parent 94e15f0 commit 1cb70ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/FoxHandler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ function FoxHandler:onEvent(event)
if playerName then
local playerInfo = GetPlayerInfo(playerName)
FoxUsers[playerInfo.ucid].tx = true
TableSave(table.concat({FilePath, saveDataSubfolder, saveDataPrefix, 'FoxHandler_FoxUsers.lua'}), FoxUsers)
trigger.action.removeMark(event.idx) --delete the message from being seen by other people, as it was a command.
end
end
Expand Down

0 comments on commit 1cb70ec

Please sign in to comment.