mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 15:32:52 +00:00
Fixes freezer UI bug
This commit is contained in:
@@ -101,9 +101,9 @@
|
||||
if(href_list["temp"])
|
||||
var/amount = text2num(href_list["temp"])
|
||||
if(amount > 0)
|
||||
src.set_temperature = min(0, src.set_temperature+amount)
|
||||
src.set_temperature = min(src.set_temperature+amount, 1000)
|
||||
else
|
||||
src.set_temperature = max(10000, src.set_temperature+amount) //no need for a maximum, really
|
||||
src.set_temperature = max(src.set_temperature+amount, 0)
|
||||
|
||||
src.add_fingerprint(usr)
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user