mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 12:02:31 +01:00
Fixes internal phoron buzz (#1908)
Due to bad code andn stuff, buzz happened every 3 secobds. no more.
This commit is contained in:
@@ -433,7 +433,7 @@ obj/item/organ/vaurca/neuralsocket/process()
|
||||
return null
|
||||
|
||||
var/tank_pressure = air_contents.return_pressure()
|
||||
if(tank_pressure < distribute_pressure)
|
||||
if((tank_pressure < distribute_pressure) && prob(5))
|
||||
owner << "<span class='warning'>There is a buzzing in your [parent_organ].</span>"
|
||||
|
||||
var/moles_needed = distribute_pressure*volume_to_return/(R_IDEAL_GAS_EQUATION*air_contents.temperature)
|
||||
|
||||
Reference in New Issue
Block a user