Demolution bug
- volfase
- Member
- Posts: 33
- Joined: Sun Mar 18, 2018 2:14 am
- Location: Finland
- Contact:
When game start Waiting for players text show to master all time and if bomb is planted and swat team kill all terrorist game end and they dont need to defuse bomb and if bomb explose swat team dont go back to spawn.
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
I just fix this and update the addon package,
but you have to add a line in an MFPS script:
in bl_GameManager.cs -> CheckPlayersInMatch() -> after this line:
add this:
but you have to add a line in an MFPS script:
in bl_GameManager.cs -> CheckPlayersInMatch() -> after this line:
Code: Select all
if(onAllPlayersRequiredIn != null){ onAllPlayersRequiredIn.Invoke();}
Code: Select all
bl_UIReferences.Instance.SetWaitingPlayersText("", false);
- ThePrimePillow
- Contributor
- Posts: 65
- Joined: Thu Feb 22, 2018 10:10 pm
After importing new package I get:Lovatto wrote: ↑Mon May 11, 2020 2:36 pm I just fix this and update the addon package,
but you have to add a line in an MFPS script:
in bl_GameManager.cs -> CheckPlayersInMatch() -> after this line:add this:Code: Select all
if(onAllPlayersRequiredIn != null){ onAllPlayersRequiredIn.Invoke();}
Code: Select all
bl_UIReferences.Instance.SetWaitingPlayersText("", false);
Code: Select all
bl_Demolition.cs(111,9): error CS0103: The name 'bl_RoomCamera' does not exist in the current context
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
My bad, that line is from the new patch version of MFPS, change the line 111 of bl_Demolition.cs:
with this:
Code: Select all
bl_RoomCamera.Instance?.SetActive(false);
Code: Select all
bl_GameManager.Instance.m_RoomCamera.gameObject.SetActive(false);
- ThePrimePillow
- Contributor
- Posts: 65
- Joined: Thu Feb 22, 2018 10:10 pm
Thank you, everything works now