Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freezer throws an error when unfreezing without owner #2478

Closed
Aws0mee opened this issue Nov 7, 2022 · 0 comments · Fixed by #2479
Closed

Freezer throws an error when unfreezing without owner #2478

Aws0mee opened this issue Nov 7, 2022 · 0 comments · Fixed by #2479

Comments

@Aws0mee
Copy link
Contributor

Aws0mee commented Nov 7, 2022

This error happens when the owner of a freezer disconnects and you try to freeze a prop with it, unfreezing does not seem to throw any errors.

L 11/07/2022 - 00:34:15: Lua Error: Wire error (Entity [461][gmod_wire_freezer]):
gamemodes/base/gamemode/player.lua:15: attempt to call method 'AddFrozenPhysicsObject' (a nil value)
stack traceback:
	gamemodes/base/gamemode/player.lua:15: in function 'OnPhysgunFreeze'
	gamemodes/sandbox/gamemode/init.lua:54: in function 'Call'
	addons/wiremod/lua/entities/gmod_wire_freezer.lua:28: in function <addons/wiremod/lua/entities/gmod_wire_freezer.lua:20>
	[C]: in function 'xpcall'
	addons/wiremod/lua/wire/server/wirelib.lua:58: in function 'TriggerInput'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant