StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
146 stars 3 forks source link

Player does not drop object if swap weapon to portalgun #1509

Open MyGamepedia opened 10 months ago

MyGamepedia commented 10 months ago

Describe the bug

↑. Not work if swap to other weapon. Available in Portal and Portal 2. Looks absurd. For some reason in Portal portalgun in this situation start play hold animation after a while, unlike Portal 2. Found this problem quite by accident.

P2CE.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/e41ac5e9-8a8a-4d57-ad3f-cf81aef89458

Portal.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/077690df-41a8-4cb3-9271-5f303297188d

Portal 2.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/ef329151-590c-48ec-ac70-2bfc81738f8e

Issue Map

Any with portalgun, other weapon and physics object that player can pick up.

To Reproduce

  1. Open any map.
  2. Enter in console ent_create_portal_metal_sphere; sv_cheats 1; give weapon_portalgun; give weapon_cubemap; use weapon_cubemap.
  3. Enter in console bind your_key "use weapon_portalgun"
  4. Pick up cube.
  5. Use weapon portalgun.
  6. Now you are in an absurd situation.

Operating System

Any.