„Chris.MultiNPC.lsl“ ändern

This commit is contained in:
Christopher 2021-08-06 17:12:03 +00:00
parent 8289b22344
commit 2170ce351b
1 changed files with 0 additions and 9 deletions

View File

@ -14,7 +14,6 @@ yoptions;
//=================== //===================
list m_npcdata = []; list m_npcdata = [];
integer m_lastTimeCheck = 0;
readNPCPathNC(string ncName) readNPCPathNC(string ncName)
{ {
@ -618,7 +617,6 @@ default
{ {
removeOldNPC(); removeOldNPC();
m_lastTimeCheck = llGetUnixTime();
readAllNPCPathNC(); readAllNPCPathNC();
state waitingForPlayers; state waitingForPlayers;
@ -635,7 +633,6 @@ state waitingForPlayers
timer() timer()
{ {
llSetTimerEvent(2); llSetTimerEvent(2);
m_lastTimeCheck = llGetUnixTime();
if(getRealAgentCount() != 0) if(getRealAgentCount() != 0)
state running; state running;
} }
@ -665,7 +662,6 @@ state running
if(message == "Start all") if(message == "Start all")
{ {
m_lastTimeCheck = llGetUnixTime();
llSetTimerEvent(0.3); llSetTimerEvent(0.3);
} }
@ -677,11 +673,6 @@ state running
timer() timer()
{ {
if((m_lastTimeCheck + 2) <= llGetUnixTime())
hardReset("script timeout");
m_lastTimeCheck = llGetUnixTime();
if(getRealAgentCount() == 0) if(getRealAgentCount() == 0)
hardReset("region empty"); hardReset("region empty");