Cap overheals on map change.
This commit is contained in:
parent
9e0acada23
commit
e2e8d23599
3 changed files with 5 additions and 8 deletions
|
|
@ -132,6 +132,8 @@ extend Class SWWMHandler
|
|||
if ( !SWWMWeapon(i) ) continue;
|
||||
SWWMWeapon(i).hastravelled = false;
|
||||
}
|
||||
// cap health to 200
|
||||
if ( p.Health > 200 ) p.Health = p.mo.Health = 200;
|
||||
}
|
||||
|
||||
override void PlayerRespawned( PlayerEvent e )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue