mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-15 13:04:30 +00:00
Merge branch 'beta/1.8.0' of https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server into beta/1.8.0
This commit is contained in:
commit
074b36d043
1 changed files with 3 additions and 3 deletions
|
|
@ -319,7 +319,7 @@ def remove(arguments: list[str], clientid: int, accountid: str) -> None:
|
|||
@registry.register(['sm', 'slow', 'slowmo'], category='Manage')
|
||||
def slow_motion(arguments: list[str], clientid: int, accountid: str) -> None:
|
||||
"""Toggle slow motion."""
|
||||
activity = _babase.get_foreground_host_activity()
|
||||
activity = bs.get_foreground_host_activity()
|
||||
if activity and activity.globalsnode:
|
||||
activity.globalsnode.slow_motion = not activity.globalsnode.slow_motion
|
||||
|
||||
|
|
@ -375,7 +375,7 @@ def tint(arguments: list[str], clientid: int, accountid: str) -> None:
|
|||
@registry.register(['pause', 'pausegame'], category='Manage')
|
||||
def pause(arguments: list[str], clientid: int, accountid: str) -> None:
|
||||
"""Toggle pause state."""
|
||||
activity = _babase.get_foreground_host_activity()
|
||||
activity = bs.get_foreground_host_activity()
|
||||
if activity and activity.globalsnode:
|
||||
activity.globalsnode.paused = not activity.globalsnode.paused
|
||||
|
||||
|
|
@ -383,7 +383,7 @@ def pause(arguments: list[str], clientid: int, accountid: str) -> None:
|
|||
@registry.register(['cameraMode', 'camera_mode', 'rotate_camera'], category='Manage')
|
||||
def camera_mode(arguments: list[str], clientid: int, accountid: str) -> None:
|
||||
"""Toggle camera mode."""
|
||||
activity = _babase.get_foreground_host_activity()
|
||||
activity = bs.get_foreground_host_activity()
|
||||
if activity and activity.globalsnode:
|
||||
if activity.globalsnode.camera_mode != 'rotate':
|
||||
activity.globalsnode.camera_mode = 'rotate'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue