mirror of
https://github.com/PhantomGamesDevelopment/TWM2.git
synced 2026-07-13 15:34:40 +00:00
Fixed Some Mistakes
This commit is contained in:
parent
f226c40a54
commit
9cfcf412db
6 changed files with 28 additions and 18 deletions
|
|
@ -73,6 +73,14 @@ datablock ShapeBaseImageData(KillstreakBeaconImage) {
|
|||
};
|
||||
|
||||
function KillstreakBeaconImage::onMount(%this, %obj, %slot) {
|
||||
if(!isSet(%obj.client.ksListInstance)) {
|
||||
%obj.client.ksListInstance = initList();
|
||||
}
|
||||
if(%obj.client.ksListInstance.count() <= 0) {
|
||||
%obj.throwWeapon(1);
|
||||
%obj.throwWeapon(0);
|
||||
%obj.setInventory(KillstreakBeacon, 0, true);
|
||||
}
|
||||
Parent::onMount(%this, %obj, %slot);
|
||||
%obj.hasMineModes = 1;
|
||||
%obj.hasGrenadeModes = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue