mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes bug where the Scotty achievement would only fire...
...if you got *EXACTLY* 3000 kW of power in a powernet
This commit is contained in:
@@ -61,7 +61,7 @@ SUBSYSTEM_DEF(achievements)
|
||||
for(var/n in SSmachines.powernets)
|
||||
var/datum/powernet/net = n
|
||||
if(net.z == 2) // If the powernet is on the station z-level
|
||||
if(net.avail == 3000 && CE.stat != DEAD && CE.client) // If there's 3 MW available (Value is in kW)
|
||||
if(net.avail >= 3000 && CE.stat != DEAD && CE.client) // If there's 3 MW available (Value is in kW)
|
||||
unlock_achievement(/datum/achievement/engineering/scotty, CE.client)
|
||||
|
||||
//Ad-hoc procs
|
||||
|
||||
Reference in New Issue
Block a user