16
0
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:
milek7
2019-02-20 21:47:13 +01:00
parent 3269a089f3
commit cbd640a6aa

View File

@@ -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);
}