diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-06-29 23:52:45 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-06-29 23:52:45 +0100 |
commit | 53194543e43f8a645ba83ddb464028ba0c3b9d70 (patch) | |
tree | bee4f045e4e0dba4ca07fef04e2600b2c897c3c1 /Northstar.CustomServers/scripts/vscripts/mp/_score.nut | |
parent | 31c8a052e8f3cdccedb7f6f8d2bd11678189001a (diff) | |
download | NorthstarMods-53194543e43f8a645ba83ddb464028ba0c3b9d70.tar.gz NorthstarMods-53194543e43f8a645ba83ddb464028ba0c3b9d70.zip |
fix lts spawn bugs and some crashes
Diffstat (limited to 'Northstar.CustomServers/scripts/vscripts/mp/_score.nut')
-rw-r--r-- | Northstar.CustomServers/scripts/vscripts/mp/_score.nut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/scripts/vscripts/mp/_score.nut b/Northstar.CustomServers/scripts/vscripts/mp/_score.nut index 9f1e59789..c54bbf8d1 100644 --- a/Northstar.CustomServers/scripts/vscripts/mp/_score.nut +++ b/Northstar.CustomServers/scripts/vscripts/mp/_score.nut @@ -31,7 +31,7 @@ void function AddPlayerScore( entity targetPlayer, string scoreEventName, entity { ScoreEvent event = GetScoreEvent( scoreEventName ) - if ( !event.enabled ) + if ( !event.enabled || !targetPlayer.IsPlayer() ) return var associatedHandle = 0 |