mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 01:59:19 +02:00
nonglobal eventlauncher should launch individually for each client (could cause duplicated event launches, but previous behaviour is obviously wrong)
This commit is contained in:
@@ -126,7 +126,7 @@ basic_cell::update_events() {
|
||||
if (launcher->check_conditions()
|
||||
&& SquareMagnitude( launcher->location() - Global.pCamera.Pos ) < launcher->dRadius) {
|
||||
if (launcher->check_activation())
|
||||
launch_event(launcher, false);
|
||||
launch_event(launcher, true);
|
||||
if (launcher->check_activation_key())
|
||||
launch_event(launcher, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user