Skip to content

Commit

Permalink
metal sheet exploit fix (#6209)
Browse files Browse the repository at this point in the history
# About the pull request

funny thing I noticed while surfing the code
# Explain why it's good for the game
Im pretty sure thats not how world works
# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl: kivts
fix: Infinite metal oversight fix.
/:cl:

---------

Co-authored-by: Drathek <[email protected]>
  • Loading branch information
kiVts and Drulikar committed May 3, 2024
1 parent 751b8a5 commit 3d28974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions code/game/objects/items/frames/table_rack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
desc = "A kit for a table, including a large, flat wooden surface and four legs. Some assembly required."
icon_state = "wood_tableparts"
flags_atom = FPRINT
matter = null
table_type = /obj/structure/surface/table/woodentable

/obj/item/frame/table/wood/attackby(obj/item/W, mob/user)
Expand Down Expand Up @@ -140,6 +141,7 @@
desc = "A kit for a table, including a large, flat wooden and carpet surface and four legs. Some assembly required."
icon_state = "gamble_tableparts"
flags_atom = null
matter = null
table_type = /obj/structure/surface/table/gamblingtable

/obj/item/frame/table/gambling/attackby(obj/item/W as obj, mob/user as mob)
Expand Down
2 changes: 0 additions & 2 deletions code/modules/projectiles/gun_attachables.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1761,8 +1761,6 @@ Defined in conflicts.dm of the #defines folder.
//but at the same time you are slow when 2 handed
aim_speed_mod = CONFIG_GET(number/slowdown_med)

matter = list("wood" = 2000)

select_gamemode_skin(type)

/obj/item/attachable/stock/double
Expand Down

0 comments on commit 3d28974

Please sign in to comment.