Skip to content

Commit

Permalink
various 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 5f60ba8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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/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
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 5f60ba8

Please sign in to comment.