Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit aec7967

Browse files
GacyrGacyr
authored andcommitted
Fix some old bindings in MetaFight
1 parent bbecb97 commit aec7967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Base.rte/Activities/MetaFight.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ function MetaFight:EndActivity()
681681
self.NoBrainsLeft = self:NoTeamLeft();
682682

683683
-- Temp fix so music doesn't start playing if ending the Activity when changing resolution through the ingame settings.
684-
if not self:IsPaused() then
684+
if not self.Paused then
685685
-- This is now no-man's land
686686
if self.NoBrainsLeft then
687687
self.WinnerTeam = Activity.NOTEAM;
@@ -976,7 +976,7 @@ function MetaFight:UpdateActivity()
976976
self:DisableAIs(false, Activity.NOTEAM);
977977
self:InitAIs()
978978
-- Reset the mouse value and pathfinding so it'll know about the newly placed stuff
979-
UInputMan:SetMouseValueMagnitude(0);
979+
UInputMan:SetMouseValueMagnitude(0, -1);
980980
SceneMan.Scene:ResetPathFinding();
981981
-- Start the in-game music track
982982
AudioMan:ClearMusicQueue();

0 commit comments

Comments
 (0)