mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
QSBQuantumObject: first player in player list is always the host
This commit is contained in:
parent
fdb9b40c2f
commit
0d0c31de2f
@ -43,8 +43,8 @@ namespace QSB.QuantumSync.WorldObjects
|
||||
|
||||
if (HostControls)
|
||||
{
|
||||
// smallest player id is the host
|
||||
ControllingPlayer = QSBPlayerManager.PlayerList.Min(x => x.PlayerId);
|
||||
// first player is the host
|
||||
ControllingPlayer = QSBPlayerManager.PlayerList[0].PlayerId;
|
||||
IsEnabled = true;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user