mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-12-10 04:10:45 +01:00
share party tasks only when shared is active. Also remove pz limit in sources to active share party
This commit is contained in:
@@ -95,7 +95,7 @@ function onKill(player, target)
|
||||
|
||||
local players
|
||||
local party = player:getParty()
|
||||
if party ~= nil then
|
||||
if party ~= nil and party:isSharedExperienceEnabled() then
|
||||
players = party:getMembers() -- all members of the party
|
||||
players[#players + 1] = party:getLeader() -- don't forget the leader
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user