mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-26 22:46:15 +01:00
bug fixes
This commit is contained in:
@@ -187,7 +187,7 @@ Class Procs:
|
||||
density = TRUE
|
||||
if(!target)
|
||||
for(var/am in loc)
|
||||
if (!(can_be_occupant(am)))
|
||||
if (!(can_be_occupant(am)))
|
||||
continue
|
||||
var/atom/movable/AM = am
|
||||
if(AM.has_buckled_mobs())
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
circuit = /obj/item/circuitboard/machine/stasis
|
||||
idle_power_usage = 40
|
||||
active_power_usage = 340
|
||||
fair_market_price = 10
|
||||
payment_department = ACCOUNT_MED
|
||||
var/stasis_enabled = TRUE
|
||||
var/last_stasis_sound = FALSE
|
||||
var/stasis_can_toggle = 0
|
||||
@@ -108,7 +106,7 @@
|
||||
if(!can_be_occupant(L))
|
||||
return
|
||||
occupant = L
|
||||
if(stasis_running() && check_nap_violations())
|
||||
if(stasis_running())
|
||||
chill_out(L)
|
||||
update_icon()
|
||||
|
||||
@@ -119,7 +117,7 @@
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/stasis/process()
|
||||
if( !( occupant && isliving(occupant) && check_nap_violations() ) )
|
||||
if( !( occupant && isliving(occupant)) )
|
||||
use_power = IDLE_POWER_USE
|
||||
return
|
||||
var/mob/living/L_occupant = occupant
|
||||
@@ -136,6 +134,4 @@
|
||||
/obj/machinery/stasis/crowbar_act(mob/living/user, obj/item/I)
|
||||
return default_deconstruction_crowbar(I)
|
||||
|
||||
/obj/machinery/stasis/nap_violation(mob/violator)
|
||||
unbuckle_mob(violator, TRUE)
|
||||
#undef STASIS_TOGGLE_COOLDOWN
|
||||
Reference in New Issue
Block a user