Skip to content

Commit 858830b

Browse files
committed
ecmelpet: sync with RPU, add check for Melchior obj
1 parent 329fc12 commit 858830b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts_src/base/ecmelpet.ssl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ import variable melchior_obj;
5252
variable i_died;
5353

5454
procedure start begin
55-
set_self_team(TEAM_SUPER_MUTANT); // added by killap
55+
set_self_team(TEAM_SUPER_MUTANT); // added by killap
5656
end
5757

5858
procedure combat_p_proc begin
@@ -97,7 +97,7 @@ procedure critter_p_proc begin
9797
end
9898

9999
procedure destroy_p_proc begin
100-
if (i_died == 0) then begin
100+
if (i_died == 0 and melchior_obj > 0) then begin
101101
i_died := 1;
102102
add_timer_event(melchior_obj, 0, OBJECT_VISIBILITY);
103103
end

0 commit comments

Comments
 (0)