Skip to content

Commit

Permalink
Mecha Actions: Fixes ParadiseSS13#25828 and ParadiseSS13#25826 (Parad…
Browse files Browse the repository at this point in the history
…iseSS13#25830)

* Drop Weapon Fix

* Ficed bugged name

* Removed extraneous SRC

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>

* Added a return

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>

---------

Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
  • Loading branch information
PollardTheDragon and DGamerL authored Jun 6, 2024
1 parent 2216afc commit 2a4f4c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions code/game/mecha/equipment/mecha_equipment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
if(chassis.selected == src)
chassis.selected = null
update_chassis_page()
remove_targeted_action()
chassis.log_message("[src] removed from equipment.")
chassis = null
set_ready_state(1)
Expand Down
2 changes: 1 addition & 1 deletion code/game/mecha/mecha_actions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@
equipment = _equipment
icon_icon = equipment.icon
button_icon_state = equipment.icon_state
. = ..()
name = "Switch module to [equipment.name]"
return ..()

/datum/action/innate/mecha/select_module/Activate()
if(!owner || !chassis || chassis.occupant != owner)
Expand Down

0 comments on commit 2a4f4c6

Please sign in to comment.