Skip to content

Commit

Permalink
Merge branch 'fuel_compressor_refact' of https://github.com/BaraBarax…
Browse files Browse the repository at this point in the history
…/OnyxBay into fuel_compressor_refact
  • Loading branch information
BaraBarax committed Oct 11, 2024
2 parents ba8fd37 + 7f67b7d commit 1f01525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/power/fusion/gyrotron/gyrotron_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@
return

if(href_list["modifypower"])
var/new_val = input("Enter new emission power level (1 - 10)", "Modifying power level", G.mega_energy) as num
var/new_val = input("Enter new emission power level (1 - 50)", "Modifying power level", G.mega_energy) as num
if(!new_val)
to_chat(usr, "<span class='warning'>That's not a valid number.</span>")
return TRUE

G.mega_energy = Clamp(new_val, 1, 10)
G.mega_energy = Clamp(new_val, 1, 50)
G.change_power_consumption(G.mega_energy * 1500, POWER_USE_ACTIVE)
updateUsrDialog()
return TRUE
Expand Down

0 comments on commit 1f01525

Please sign in to comment.