Skip to content

Commit

Permalink
update VM abort handler
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaulwurff committed Mar 12, 2021
1 parent 27f1d32 commit 96e6ce6
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions zscript/gy_VmAbortHandler.zs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ class gy_VmAbortHandler : EventHandler
{

override
void worldLoaded(WorldEvent event)
void playerSpawned(PlayerEvent event)
{
if (event.playerNumber != consolePlayer) return;

mPlayerClassName = players[consolePlayer].mo.getClassName();
mSkillName = g_SkillName();
mSkillName = g_SkillName();
}

override
Expand Down Expand Up @@ -129,12 +131,12 @@ class gy_VmAbortHandler : EventHandler
void printZabor()
{
Console.printf("\ci"
" __ __ __ __ __\n"
"/ \\/ \\/ \\/ \\/ \\\n"
"|Za||bo||r ||v1||.0|\n"
"|..||..||..||..||..|\n"
"|..||..||..||..||..|\n"
"|__||__||__||__||__|\n"
" __ __ __ __ __ __\n"
"/ \\/ \\/ \\/ \\/ \\/ \\\n"
"|Za||bo||r ||v1||.0||.1|\n"
"|..||..||..||..||..||..|\n"
"|..||..||..||..||..||..|\n"
"|__||__||__||__||__||__|\n"
);
}

Expand Down

0 comments on commit 96e6ce6

Please sign in to comment.