mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
Fix cloning (#1610)
-fix clones spawning dead -fix #1603 -fix welding tools ignoring robotic limb damage cap
This commit is contained in:
@@ -313,6 +313,9 @@
|
||||
// Welder is switched off!
|
||||
user << "<span class='warning'>You need to light the welding tool, first!</span>"
|
||||
return
|
||||
if(S.brute_dam > ROBOLIMB_SELF_REPAIR_CAP)
|
||||
user << "<span class='warning'>The damage is far too severe to patch over externally.</span>"
|
||||
return
|
||||
if (src.remove_fuel(0))
|
||||
// Use a bit of fuel and repair
|
||||
S.heal_damage(15,0,0,1)
|
||||
|
||||
Reference in New Issue
Block a user