mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
fixed derps causing client/server crashes
This commit is contained in:
parent
8eaa920751
commit
ac01224769
16 changed files with 60 additions and 60 deletions
|
@ -9,15 +9,15 @@ Switches between active and passive mode states
|
|||
function onEventStarted(player, command, triggerName)
|
||||
|
||||
if (player:GetState() == 0) then
|
||||
player:changeState(2);
|
||||
player:ChangeState(2);
|
||||
elseif (player:GetState() == 2) then
|
||||
player:changeState(0);
|
||||
player:ChangeState(0);
|
||||
end
|
||||
|
||||
player:EndCommand();
|
||||
|
||||
--For Opening Tutorial
|
||||
if (player:hasQuest("Man0l0") or player:hasQuest("Man0g0") or player:hasQuest("Man0u0")) then
|
||||
if (player:HasQuest("Man0l0") or player:HasQuest("Man0g0") or player:HasQuest("Man0u0")) then
|
||||
player:GetDirector():OnCommand(command);
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue