mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Call LUAh_PlayerSpawn instead of checking for it
This commit is contained in:
parent
db3797fd35
commit
000ec9ac67
1 changed files with 1 additions and 2 deletions
|
@ -8296,8 +8296,7 @@ void P_SpawnPlayer(INT32 playernum)
|
|||
P_DoPityCheck(p);
|
||||
|
||||
#ifdef HAVE_BLUA
|
||||
if (LUAh_PlayerSpawn(p)) // Lua hook for player spawning :)
|
||||
;
|
||||
LUAh_PlayerSpawn(p); // Lua hook for player spawning :)
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue