mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-29 15:22:29 +00:00
SERVER: no longer references world as entity
This commit is contained in:
parent
8516fb22e9
commit
e95d2255a4
1 changed files with 0 additions and 4 deletions
|
@ -49,10 +49,6 @@ float(string params) Command_give =
|
|||
float wep = stof(argv(1));
|
||||
|
||||
if (wep) {
|
||||
if (!self.secondaryweapon) {
|
||||
WeaponSwitch(self);
|
||||
}
|
||||
|
||||
self.weapon = wep;
|
||||
self.currentammo = getWeaponAmmo(wep);
|
||||
self.currentmag = getWeaponMag(wep);
|
||||
|
|
Loading…
Reference in a new issue