Describe the bug
Swimming mini hornoads are missing brackets in a section of the Character Collision event. This results in a crash if contact with this enemy reduces player health to 0 while gravity suit is equpped.
To Reproduce
Equip Gravity suit (mucous membrane).
go to a room with swimming mini hornoads.
Allow the swimming mini hornoad to reduce health to 0.
Behold a crash.
Expected behavior
No crash
Game Version:
Horde PR v1
Additional context
if (dodamage == 1)
{
with (other.id)
{
plantdrain = 1
-}
if (global.currentsuit == 2)
{
global.playerhealth -= (0.025 * oControl.mod_diffmult)
if (global.playerhealth <= 0 && state != DEFEATED)
{
alarm[0] = 6
state = DEFEATED
}
}
+}
}```
Describe the bug Swimming mini hornoads are missing brackets in a section of the Character Collision event. This results in a crash if contact with this enemy reduces player health to 0 while gravity suit is equpped.
To Reproduce
Expected behavior No crash
Game Version: Horde PR v1
Additional context