Skip to content

Commit

Permalink
further fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
X0-11 committed Jun 3, 2024
1 parent 58815e3 commit cb56a30
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 16 deletions.
4 changes: 2 additions & 2 deletions code/_helpers/unsorted.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1134,9 +1134,9 @@ GLOBAL_DATUM_INIT(dview_mob, /mob/dview, new)
set_light(origin.light_range, origin.light_power, origin.light_color)

/mob/dview/Initialize()
..()
. = ..()
// We don't want to be in any mob lists; we're a dummy not a mob.
SSmobs.mob_list -= src
STOP_PROCESSING(SSmobs, src)

// call to generate a stack trace and print to runtime logs
/proc/crash_with(msg)
Expand Down
2 changes: 1 addition & 1 deletion code/controllers/Processes/chemistry.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var/datum/controller/process/chemistry/chemistryProcess

/datum/controller/process/chemistry/setup()
name = "chemistry"
schedule_interval = 20 // every 2 seconds
schedule_interval = 2 SECONDS
chemistryProcess = src
active_holders = list()
chemical_reactions = chemical_reactions_list
Expand Down
2 changes: 1 addition & 1 deletion code/modules/halo/vehicles/vehiclebase.dm
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
var/list/drivers = get_occupants_in_position("driver")
if(!drivers.len || isnull(drivers) || movement_destroyed)
inactive_pilot_effects()
if(spawn_datum)
if(!isnull(spawn_datum) && !ispath(spawn_datum))
spawn_datum.process_resource_regen()

/obj/vehicles/proc/update_object_sprites() //This is modified on a vehicle-by-vehicle basis to render mobsprites etc, a basic render of playerheads in the top right is used if no overidden.
Expand Down
4 changes: 0 additions & 4 deletions code/modules/mob/mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@
/mob/Initialize()
. = ..()
START_PROCESSING(SSmobs, src)
..()

/mob/Initialize()
. = ..()
last_z = z
var/obj/om_obj = map_sectors["[z]"]
if(om_obj)
Expand Down
7 changes: 1 addition & 6 deletions code/modules/mob/observer/virtual/base.dm
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,4 @@ var/list/all_virtual_listeners = list()
return ..()

/atom/movable/proc/shall_have_virtual_mob()
return TRUE

/mob/shall_have_virtual_mob()
var/init_virt = initial(virtual_mob)
if(!isnull(init_virt))
return ispath(init_virt)
return ispath(initial(virtual_mob))
2 changes: 1 addition & 1 deletion maps/_gamemodes/firefight/overmind.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/datum/npc_overmind/firefight/New()
. = ..()
START_PROCESSING(SSobj, src)
START_PROCESSING(SSobj, src)

/datum/npc_overmind/firefight/create_taskpoint_assign()
//intentionally left blank
Expand Down
2 changes: 1 addition & 1 deletion test/check-paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

WORLD_LOG_COUNT=40
ANGLE_BRACKET_COUNT=730
ANGLE_BRACKET_COUNT=731

FAILED=0

Expand Down

0 comments on commit cb56a30

Please sign in to comment.