mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-31 01:35:20 +02:00
Hopefully fix egg hp > maxhp
This commit is contained in:
parent
4c165742b9
commit
2b0531ed8a
@ -377,6 +377,10 @@
|
|||||||
p.IsShiny = False
|
p.IsShiny = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If p.HP > p.MaxHP Then
|
||||||
|
p.HP = p.MaxHP
|
||||||
|
End If
|
||||||
|
|
||||||
Return p
|
Return p
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user