GitBucket
Toggle navigation
Pull requests
Issues
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
root
/
DungeonShooting
Browse code
修复扔出武器会自动上膛的bug
develop
1 parent
3ae2e39
commit
3898d2aed67d34c77aa3843aa578b5dbeced3608
小李xl
authored
on 19 Oct 2023
Patch
Unified
Split
Showing
1 changed file
+9
-9
■
■
■
■
■
DungeonShooting_Godot/src/game/activity/weapon/Weapon.cs
Ignore Space
Show notes
View
18
■
■
■
■
■
DungeonShooting_Godot/src/game/activity/weapon/Weapon.cs
/// </summary>
public
void
StopReload
()
{
_aloneReloadState
=
0
;
_beLoadedState
=
2
;
if
(
_beLoadedState
==
-
1
)
{
_beLoadedState
=
0
;
}
else
if
(
_beLoadedState
==
1
)
{
_beLoadedState
=
2
;
}
Reloading
=
false
;
_reloadTimer
=
0
;
_reloadUseTime
=
0
;
}
Show line notes below