mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-10 17:46:53 -10:00
Backport of r6248:
allow lua to track if ship is 'dying' during the frame (bugfix for flashy deaths script)
This commit is contained in:
1 parent
4963b751b0
commit
54f37f82ae
1 file changed
+1
@@ -6255,6 +6255,7 @@ ADE_FUNC(hasShipExploded, l_Ship, NULL, "Checks if the ship explosion event has
|
||||
if (shipp->pre_death_explosion_happened == 1) {
|
||||
return ade_set_args(L, "i", 1);
|
||||
}
|
||||
return ade_set_args(L, "i", 3);
|
||||
}
|
||||
|
||||
return ade_set_args(L, "i", 0);
|
||||
|
||||
Reference in new issue
Block a user