mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user