Emagging a pacman does something once again. (#20179)

* I hate tgui

* sirryan changes

* tgui.png
This commit is contained in:
Qwertytoforty
2023-01-18 22:37:16 -05:00
committed by GitHub
parent 85dc7a62b8
commit cc1de516ad
3 changed files with 3 additions and 3 deletions

View File

@@ -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"