Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dzianishchyts committed Jan 23, 2025
1 parent db4aba7 commit 5690730
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Signals for /mob

/// from mob/living/Process_Spacemove(): (movement_dir)
/// from mob/living/Process_Spacemove(): (movement_dir, continuous_move)
#define COMSIG_LIVING_PROCESS_SPACEMOVE "mob_client_pre_living_move"
#define COMPONENT_BLOCK_SPACEMOVE (1<<0)
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
. = ..()

// Да, костыльно, но модульно по другому не вижу как - PIXEL_SHIFT
/mob/living/Process_Spacemove(movement_dir)
/mob/living/Process_Spacemove(movement_dir, continuous_move = FALSE)
if(SEND_SIGNAL(src, COMSIG_LIVING_PROCESS_SPACEMOVE, movement_dir) & COMPONENT_BLOCK_SPACEMOVE)
return FALSE
. = ..()
Expand Down
2 changes: 1 addition & 1 deletion modular_ss220/antagonists/code/guns/biogun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
melee_damage_lower = 10
melee_damage_upper = 15

/mob/living/simple_animal/hostile/viscerator/vox/Process_Spacemove(movement_dir)
/mob/living/simple_animal/hostile/viscerator/vox/Process_Spacemove(movement_dir, continuous_move = FALSE)
return TRUE

/mob/living/simple_animal/hostile/viscerator/vox/stamina
Expand Down
2 changes: 1 addition & 1 deletion modular_ss220/mobs/code/simple_animal/friendly/snail.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
reagents = new()
holder_type = /obj/item/holder/snail

/mob/living/simple_animal/snail/Process_Spacemove(movement_dir = 0)
/mob/living/simple_animal/snail/Process_Spacemove(movement_dir = 0, continuous_move = FALSE)
return 1

/mob/living/simple_animal/snail/Move(atom/newloc, direct, movetime)
Expand Down
2 changes: 1 addition & 1 deletion modular_ss220/objects/code/key.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
var/hack_speed = 1 SECONDS

/obj/item/door_remote/key/activate_self(mob/user)
return
..()

/obj/item/door_remote/key/interact_with_atom(atom/target, mob/living/user, list/modifiers)
var/obj/machinery/door/airlock/attacked_airlock = target
Expand Down

0 comments on commit 5690730

Please sign in to comment.