Small correction

This commit is contained in:
Michael Braun 2015-08-05 00:13:50 +02:00
parent d51d87ba2c
commit 820d1c50a5

View File

@ -12,10 +12,10 @@
*/
#include "script_component.hpp"
private ["_color", "_name", "_text", "_picture"];
if !(GVAR(DisplayText)) exitwith {};
private ["_color", "_name", "_text", "_picture"];
params ["_magazine", "_numberofMagazines"];
_color = [[1,0,0], [1,1,1]] select (_numberofMagazines > 0);