Fixed a possible loop for the strike team command.

Change to AI Core for potential SKYNET update.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@654 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
noisomehollow@lycos.com
2010-12-18 05:02:04 +00:00
parent ef10e249e8
commit c665d2abcf
2 changed files with 4441 additions and 4428 deletions
+3 -1
View File
@@ -10,10 +10,12 @@ var/global/sent_strike_team = 0
if(world.time < 6000)
alert("Not so fast, buddy. Wait a few (10) minutes until the game gets going.")
return
if(sent_strike_team == 1)
alert("CentCom is already sending a team, Mr. Dumbass.")
return
if(alert("Do you want to send in the CentCom death squad? Once enabled, this is irreversible.",,"Yes","No")=="No")
return
alert("This 'mode' will go on until everyone is dead or the station is destroyed. You may also admin-call the evac shuttle when appropriate. Spawned commandos have internals cameras which are viewable through a monitor inside the Spec. Ops. Office. Assigning the team's task is recommended from there.")
src.verbs -= /client/proc/strike_team
sent_strike_team = 1
if (emergency_shuttle.direction == 1 && emergency_shuttle.online == 1)