mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Added changes to how zones/areas are accessed in the lua scripts too.
This commit is contained in:
@@ -8,9 +8,8 @@ properties = {
|
||||
|
||||
function onTrigger(player, argc, actorName)
|
||||
|
||||
if (actorName ~= nil) then
|
||||
zone = player:GetZone();
|
||||
actor = zone:DespawnActor(actorName);
|
||||
if (actorName ~= nil) then
|
||||
actor = player.CurrentArea:DespawnActor(actorName);
|
||||
end
|
||||
|
||||
end;
|
||||
Reference in New Issue
Block a user