Skip to content

Commit

Permalink
Emagging a pacman does something once again. (ParadiseSS13#20179)
Browse files Browse the repository at this point in the history
* I hate tgui

* sirryan changes

* tgui.png
  • Loading branch information
Qwertytoforty authored Jan 19, 2023
1 parent 85dc7a6 commit cc1de51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/modules/power/port_gen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
if("change_power")
var/newPower = text2num(params["change_power"])
if(newPower)
power_output = clamp(newPower, 1, max_power_output)
power_output = clamp(newPower, 1, (emagged ? round(max_power_output * 2.5) : max_power_output))

/obj/machinery/power/port_gen/pacman/super
name = "S.U.P.E.R.P.A.C.M.A.N.-type Portable Generator"
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/Pacman.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const Pacman = (props, context) => {
<NumberInput
value={output_set}
minValue={1}
maxValue={output_max}
maxValue={output_max * 2.5}
step={1}
className="mt-1"
onDrag={(e, value) =>
Expand Down
Loading

0 comments on commit cc1de51

Please sign in to comment.