Permalink
Browse files

remove debug enemy setup

  • Loading branch information...
1 parent 2ba9ed2 commit 627caddce0d02231dc402f6a010e2376eda7ebec @robn robn committed Oct 9, 2012
Showing with 0 additions and 12 deletions.
  1. +0 −12 data/ui/MainMenu.lua
View
@@ -24,17 +24,6 @@ local setupPlayerCobra = function ()
Game.player:SetMoney(100)
end
-local addDebugEnemy = function ()
- local enemy = Space.SpawnShipNear("eagle_lrf", Game.player, 9, 9)
- enemy:AddEquip("PULSECANNON_1MW")
- enemy:AddEquip("ATMOSPHERIC_SHIELDING")
- enemy:AddEquip("AUTOPILOT")
- enemy:AddEquip("SCANNER")
- enemy:AddEquip("HYDROGEN", 2)
- enemy:AIKill(Game.player)
- Game.player:SetCombatTarget(enemy)
-end
-
local doLoadDialog = function ()
ui:SetInnerWidget(
ui.templates.FileDialog({
@@ -51,7 +40,6 @@ local buttonDefs = {
{ "Start at Earth", function () Game.StartGame(SystemPath.New(0,0,0,0,9)) setupPlayerEagle() end },
{ "Start at New Hope", function () Game.StartGame(SystemPath.New(1,-1,-1,0,4)) setupPlayerEagle() end },
{ "Start at Lave", function () Game.StartGame(SystemPath.New(-2,1,90,0,2)) setupPlayerCobra() end },
- --{ l.MM_START_NEW_GAME_DEBUG, function () Game.StartGame(SystemPath.New(-1,9,-22,0,5)) setupPlayerEagle() addDebugEnemy() end },
{ "Load Game", doLoadDialog },
{ "Options", function () Engine.SettingsView() end },
{ "Quit", function () Engine.Quit() end },

0 comments on commit 627cadd

Please sign in to comment.