mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Fix according to MarkvA's comments
This commit is contained in:
@@ -105,13 +105,18 @@
|
||||
ui.open()
|
||||
|
||||
/obj/machinery/poolcontroller/Topic(href, href_list)
|
||||
if(..()) return 1
|
||||
|
||||
switch(href_list["temp"])
|
||||
if("Scalding")
|
||||
if(!src.emagged)
|
||||
return 0
|
||||
src.temperature = "scalding"
|
||||
src.temperaturecolor = "#FF0000"
|
||||
miston()
|
||||
if("Frigid")
|
||||
if(!src.emagged)
|
||||
return 0
|
||||
src.temperature = "frigid"
|
||||
src.temperaturecolor = "#00CCCC"
|
||||
mistoff()
|
||||
|
||||
Reference in New Issue
Block a user