mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
fixed method casing in lua
This commit is contained in:
parent
ba13d5798d
commit
884a26dc52
368 changed files with 1121 additions and 1121 deletions
|
@ -8,17 +8,17 @@ Switches between active and passive mode states
|
|||
|
||||
function onEventStarted(player, command, triggerName)
|
||||
|
||||
if (player:getState() == 0) then
|
||||
if (player:GetState() == 0) then
|
||||
player:changeState(2);
|
||||
elseif (player:getState() == 2) then
|
||||
elseif (player:GetState() == 2) then
|
||||
player:changeState(0);
|
||||
end
|
||||
|
||||
player:endCommand();
|
||||
player:EndCommand();
|
||||
|
||||
--For Opening Tutorial
|
||||
if (player:hasQuest("Man0l0") or player:hasQuest("Man0g0") or player:hasQuest("Man0u0")) then
|
||||
player:getDirector():onCommand(command);
|
||||
player:GetDirector():OnCommand(command);
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue