Jump to content

Error while compiling

Pending 0.0.2

VeneraStroy
VeneraStroy

Posted

Error while compiling SkipDeathScreen: Cannot implicitly convert type 'PooledList<SleepingBag>' to 'SleepingBag[]' | Line: 16, Pos: 39

Stigiec

Posted

update yr code, replace lines 16-17

SleepingBag[] array = SleepingBag.FindForPlayer(player.userID, true).ToArray();
SleepingBag sleepingBag = array.FirstOrDefault(
    x => x.deployerUserID == player.userID && x.unlockTime < UnityEngine.Time.realtimeSinceStartup
);

 

  • Like 1
1.9m

Downloads

Total number of downloads.

9.2k

Customers

Total customers served.

134.6k

Files Sold

Total number of files sold.

2.8m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.