Call LUAh_PlayerSpawn instead of checking for it
This commit is contained in:
1 parent
db3797fd35
commit
000ec9ac67
1 file changed
+1
-2
+1
-2
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user