Skip to content

Commit

Permalink
When player login, open guild channel.
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel committed Feb 21, 2024
1 parent 193f9c3 commit a788959
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data-otservbr-global/scripts/creaturescripts/others/login.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ function playerLogin.onLogin(player)
else
player:openChannel(3) -- World chat
player:openChannel(5) -- Advertsing main
if player:getGuild() then
player:openChannel(0x00) -- guild
end
end
return true
end
Expand Down

0 comments on commit a788959

Please sign in to comment.