Skip to content

Commit

Permalink
Repeating mech repair (#3775)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

loop

## Why It's Good For The Game

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
fix: mech repair now loop
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

Signed-off-by: Theos <[email protected]>
  • Loading branch information
SomeguyManperson authored Nov 22, 2024
1 parent f450ea7 commit e7cb455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/mecha/mecha_defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@
clearInternalDamage(MECHA_INT_TANK_BREACH)
to_chat(user, span_notice("You repair the damaged gas tank."))
return
if(obj_integrity < max_integrity)
while(obj_integrity < max_integrity)
if(!do_after(user, 20, target= src))
return
if(!W.use_tool(src, user, 0, volume=50, amount=1))
Expand Down

0 comments on commit e7cb455

Please sign in to comment.