mirror of
https://github.com/JezuzLizard/t6-fastfile-mods.git
synced 2025-06-10 11:17:59 -05:00
Fix FFA/multiteam, remove duplicate assets and move them to a shared.zone.
Note: multiteam causes the game to reach the image asset limit so you cannot use the mod on multiteam.
This commit is contained in:
@ -32,7 +32,16 @@ set_player_model_override( team, weapon )
|
||||
self setsprintduration( 4 );
|
||||
self setsprintcooldown( 0 );
|
||||
|
||||
possible_models = game[ "characters" ][ team ];
|
||||
possible_models = [];
|
||||
|
||||
if ( !level.teambased || level.multiteam )
|
||||
{
|
||||
possible_models = arrayCombine( game[ "characters" ][ "allies" ], game[ "characters" ][ "axis" ], false, true );
|
||||
}
|
||||
else
|
||||
{
|
||||
possible_models = game[ "characters" ][ team ];
|
||||
}
|
||||
|
||||
if ( isDefined( possible_models ) && possible_models.size > 0 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user