bugfix throwing exception

This commit is contained in:
logsol 2014-12-28 20:34:45 +01:00
parent 4f3a53ca53
commit 809a622cd9

View file

@ -99,7 +99,12 @@ function (Doll, Settings, Nc, Exception, SpectatorDoll, RagDoll) {
// FIXME: do something better then just respawn in GameController // FIXME: do something better then just respawn in GameController
if(this.holdingItem) { if(this.holdingItem) {
this.throw(0, 0, 0, this.holdingItem) var options = {
x: 0,
y: 0,
av: 0
};
this.throw(options, this.holdingItem)
} }
// prepare for creating the ragdoll // prepare for creating the ragdoll