mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 11:10:58 +02:00
Reformatted DialogBox and PurchaseServerBox. Implemented purchase server, untested (will test when I do a playthrough so i get enough moeny)
This commit is contained in:
@@ -35,7 +35,9 @@ purchaseServerBoxCreate = function(ram, cost) {
|
||||
|
||||
var confirmButton = document.getElementById("purchase-server-box-confirm");
|
||||
confirmButton.addEventListener("click", function() {
|
||||
purchaseServerBoxClose();
|
||||
purchaseServer(ram, cost);
|
||||
return false;
|
||||
});
|
||||
|
||||
purchaseServerBoxOpen();
|
||||
|
||||
Reference in New Issue
Block a user