broma-arma / BromA-A3-Framework-Mark3

The legend is born again.
9 stars 6 forks source link

Civilian casualty cap plugin fn_postinit only runs on the server (HC COMPTATABILITY) #12

Closed geroge-011 closed 9 years ago

geroge-011 commented 9 years ago

waitUntil{mission_ai_controller}; if (!mission_ai_controller) exitWith {};

instead of

(!isServer) exitWith {};

@ line2

Neefay commented 9 years ago

All of the functions are broadcast and made public by the server, and as such the Headless Client is able to assign them to the civilian units' Event Handlers.