mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
Merge pull request #7345 from Rykka-Stormheart/shep-dev-reenable-air-pumps
Reenable Air Pump Soundloop
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
var/radio_filter_out
|
||||
var/radio_filter_in
|
||||
|
||||
//var/datum/looping_sound/air_pump/soundloop //VOREStation Removal
|
||||
var/datum/looping_sound/air_pump/soundloop
|
||||
|
||||
/obj/machinery/atmospherics/unary/vent_pump/on
|
||||
use_power = USE_POWER_IDLE
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
/obj/machinery/atmospherics/unary/vent_pump/Initialize()
|
||||
. = ..()
|
||||
//soundloop = new(list(src), FALSE) //VOREStation Removal
|
||||
soundloop = new(list(src), FALSE)
|
||||
|
||||
/obj/machinery/atmospherics/unary/vent_pump/New()
|
||||
..()
|
||||
@@ -95,7 +95,7 @@
|
||||
if(initial_loc)
|
||||
initial_loc.air_vent_info -= id_tag
|
||||
initial_loc.air_vent_names -= id_tag
|
||||
//QDEL_NULL(soundloop) //VOREStation Removal
|
||||
QDEL_NULL(soundloop)
|
||||
return ..()
|
||||
|
||||
/obj/machinery/atmospherics/unary/vent_pump/high_volume
|
||||
@@ -181,15 +181,15 @@
|
||||
|
||||
/obj/machinery/atmospherics/unary/vent_pump/proc/can_pump()
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
//soundloop.stop() //VOREStation Removal
|
||||
soundloop.stop()
|
||||
return 0
|
||||
if(!use_power)
|
||||
//soundloop.stop() //VOREStation Removal
|
||||
soundloop.stop()
|
||||
return 0
|
||||
if(welded)
|
||||
//soundloop.stop() //VOREStation Removal
|
||||
soundloop.stop()
|
||||
return 0
|
||||
//soundloop.start() //VOREStation Removal
|
||||
soundloop.start()
|
||||
return 1
|
||||
|
||||
/obj/machinery/atmospherics/unary/vent_pump/process()
|
||||
|
||||
Reference in New Issue
Block a user