Page 1 of 1

[HL2DM] Restrictions

Posted: Wed Jan 13, 2021 7:39 pm
by Kami
Hey guys,

I recently noticed that the restrictions package does not work with HL2DM as some things are different there.

There is no buy_internal for example. Also the team index for deathmatch is always 0 which will result in "KeyError: '"0" is neither a team number nor an alias."

I'm not sure if the package is just ment for certain engines or if this just went unnoticed.

Re: [HL2DM] Restrictions

Posted: Thu Jan 14, 2021 4:30 am
by L'In20Cible
Kami wrote:Hey guys,

I recently noticed that the restrictions package does not work with HL2DM as some things are different there.

There is no buy_internal for example. Also the team index for deathmatch is always 0 which will result in "KeyError: '"0" is neither a team number nor an alias."

I'm not sure if the package is just ment for certain engines or if this just went unnoticed.

Should be fixed into: dae3ae8

Re: [HL2DM] Restrictions

Posted: Thu Jan 14, 2021 6:35 am
by Kami
Thank you very much! It works perfectly now.

Re: [HL2DM] Restrictions

Posted: Fri Jan 15, 2021 12:49 am
by PEACE
Yes it sure does thank you